Skip to content

Commit

Permalink
gitlab ci angepasst
Browse files Browse the repository at this point in the history
  • Loading branch information
alex1702 committed Aug 6, 2023
1 parent 4ad92c1 commit b8d7f5d
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,9 @@ cache:
- ./.m2


default:
tags:
- mvweb1
before_script:
- apt-get update -qq
- apt-get install -y -qq ssh lib32ncurses6 lib32z1 wget tar file gnupg2 git-lfs > /dev/null
- source /private/MServerENVS
- whoami
- mkdir ~/.ssh
- ssh-keyscan -p 60002 dw2.mvorg.de >> ~/.ssh/known_hosts
- ssh-keyscan -p 60002 148.251.176.136 >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
- java -version
# - mvn -v
- mvn clean
#default:
# before_script:


stages:
- .prenotify
Expand All @@ -47,9 +35,22 @@ notify-github-pending:
Build and Deploy:
stage: release
script:
# - apt-get update -qq
# - apt-get install -y -qq ssh lib32ncurses6 lib32z1 wget tar file gnupg2 git-lfs > /dev/null
# - source /private/MServerENVS
- whoami
# - mkdir ~/.ssh
# - ssh-keyscan -p 60002 dw2.mvorg.de >> ~/.ssh/known_hosts
# - ssh-keyscan -p 60002 148.251.176.136 >> ~/.ssh/known_hosts
# - chmod 644 ~/.ssh/known_hosts
- java -version
# - mvn -v
# - mvn clean
# - mvn -B package
- ./gradlew build
- ls -l
tags:
- mvweb1
# rules:
# - if: $CI_COMMIT_TAG

Expand Down

0 comments on commit b8d7f5d

Please sign in to comment.