Skip to content
Snippets Groups Projects
Commit 0b64452a authored by Tobias Bruns's avatar Tobias Bruns
Browse files

disable deploy

parent 0d95b167
Branches
Tags
No related merge requests found
Pipeline #738 failed
......@@ -69,13 +69,13 @@ cache:
# For deploying packages to GitLab's Maven Repository: See https://docs.gitlab.com/ee/user/packages/maven_repository/index.html#create-maven-packages-with-gitlab-cicd for more details.
# Please note: The GitLab Maven Repository is currently only available in GitLab Premium / Ultimate.
# For `master` or `main` branch run `mvn deploy` automatically.
deploy:jdk8:
stage: deploy
script:
- if [ ! -f ci_settings.xml ]; then
echo "CI settings missing\! If deploying to GitLab Maven Repository, please see https://docs.gitlab.com/ee/user/packages/maven_repository/index.html#create-maven-packages-with-gitlab-cicd for instructions.";
fi
- 'mvn $MAVEN_CLI_OPTS deploy --settings ci_settings.xml'
only:
variables:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
#deploy:jdk21:
# stage: deploy
# script:
# - if [ ! -f ci_settings.xml ]; then
# echo "CI settings missing\! If deploying to GitLab Maven Repository, please see https://docs.gitlab.com/ee/user/packages/maven_repository/index.html#create-maven-packages-with-gitlab-cicd for instructions.";
# fi
# - 'mvn $MAVEN_CLI_OPTS deploy --settings ci_settings.xml'
# only:
# variables:
# - $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment