Commit 9cb74edb authored by Tim Rizzi's avatar Tim Rizzi

Update instructions and uncomment out deploy

parent 6dfc85a1
......@@ -39,17 +39,17 @@ verify:jdk8:
<<: *verify
image: maven:3.3.9-jdk-8
# To deploy packages to the GitLab Maven Repository, uncomment the following section.
# Please note: The Maven Repository is currently only available for Premium / Ultimate accounts.
#
# To deploy packages to the GitLab Maven Repository, create a ci_settings.xml file
# See https://gitlab.com/help/user/project/packages/maven_repository.md#creating-maven-packages-with-gitlab-cicd for more details.
# Please note: The Maven Repository is currently only available in GitLab Premium / Ultimate.
# For `master` branch run `mvn deploy` automatically.
#deploy:jdk8:
# stage: deploy
# script:
# - if [ ! -f ci_settings.xml ];
# then echo CI settings missing, please see https://gitlab.com/help/user/project/packages/maven_repository.md#creating-maven-packages-with-gitlab-cicd for instructions.;
# fi
# - 'mvn $MAVEN_CLI_OPTS deploy -s ci_settings.xml'
# only:
# - master
# image: maven:3.3.9-jdk-8
deploy:jdk8:
stage: deploy
script:
- if [ ! -f ci_settings.xml ];
then echo CI settings missing, please see https://gitlab.com/help/user/project/packages/maven_repository.md#creating-maven-packages-with-gitlab-cicd for instructions.;
fi
- 'mvn $MAVEN_CLI_OPTS deploy -s ci_settings.xml'
only:
- master
image: maven:3.3.9-jdk-8
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment