Update .gitlab-ci.yml

This commit is contained in:
Administrator committed 2022-04-10 11:33:58 +00:00
1 parent a958fad9e7
commit fb5943c5a8
1 file changed
+5 -4
+5 -4
View File
@@ -47,9 +47,10 @@ verify:jdk8:
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/project/packages/maven_repository.html#creating-maven-packages-with-gitlab-cicd for instructions.";
fi
- 'mvn $MAVEN_CLI_OPTS deploy -s ci_settings.xml'
- 'mvn $MAVEN_CLI_OPTS package'
artifacts:
paths:
- target/*.jar
expire_in: 1 week
only:
- AllegroExercise