Update .gitlab-ci.yml
This commit is contained in:
1 parent
a958fad9e7
commit
fb5943c5a8
1 file changed
+5
-4
+5
-4
@@ -47,9 +47,10 @@ verify:jdk8:
|
|||||||
deploy:jdk8:
|
deploy:jdk8:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- if [ ! -f ci_settings.xml ];
|
- 'mvn $MAVEN_CLI_OPTS package'
|
||||||
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.";
|
artifacts:
|
||||||
fi
|
paths:
|
||||||
- 'mvn $MAVEN_CLI_OPTS deploy -s ci_settings.xml'
|
- target/*.jar
|
||||||
|
expire_in: 1 week
|
||||||
only:
|
only:
|
||||||
- AllegroExercise
|
- AllegroExercise
|
||||||
Reference in new issue
Block a user