Skip to content

Commit

Permalink
Abfrage Versionsdatei korrigiert
Browse files Browse the repository at this point in the history
  • Loading branch information
alex1702 committed Aug 6, 2023
1 parent 9e4632c commit cbe3ba3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ Build and Deploy:
- "test -d /var/www/res.mediathekview.de/web/MServer || mkdir /var/www/res.mediathekview.de/web/MServer"
- ls -l /var/www/res.mediathekview.de/web/MServer/
- tar -czf /var/www/res.mediathekview.de/web/MServer/MServer.tar.gz *
- 'echo "Version vorher: " && cat /var/www/res.mediathekview.de/web/MServer/MServer.version'
- "echo ${CI_COMMIT_TAG} > /var/www/res.mediathekview.de/web/MServer/MServer.version"
- 'echo "Version vorher: " && (cat /var/www/res.mediathekview.de/web/MServer/MServer.version || echo "Keine Versionsdatei vorhanden")'
- "echo \"${CI_COMMIT_TAG}\" > /var/www/res.mediathekview.de/web/MServer/MServer.version"
- 'echo "Version jetzt: " && cat /var/www/res.mediathekview.de/web/MServer/MServer.version'
tags:
- mvweb1
Expand Down
18 changes: 18 additions & 0 deletions jdk8.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# einlesen mit:
# source jdk11.sh

#PFAD="/usr/lib/jvm/java-8-openjdk-amd64"

#export J2SDKDIR=$PFAD
#export J2REDIR=$PFAD
#export PATH=$PATH:${PFAD}/bin:${PFAD}/db/bin
#export JAVA_HOME=${PFAD}
#export DERBY_HOME=${PFAD}/db


# with sdkman

sdk use java 8.0.382.fx-zulu

# list sdk's for java
sdk list java

0 comments on commit cbe3ba3

Please sign in to comment.