Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rizzi <trizzi@gitlab.com>2019-05-31 00:13:12 +0300
committerTim Rizzi <trizzi@gitlab.com>2019-05-31 00:13:12 +0300
commit9cb74edbba640462d9947a945fcfbf6a033af94f (patch)
treecdeb07dda2e6caac0ca708a7e9e1a266ac31c171 /lib/gitlab/ci/templates/Maven.gitlab-ci.yml
parent6dfc85a102cd35e219b019bb00215ed2cd28c5d8 (diff)
Update instructions and uncomment out deploy
Diffstat (limited to 'lib/gitlab/ci/templates/Maven.gitlab-ci.yml')
-rw-r--r--lib/gitlab/ci/templates/Maven.gitlab-ci.yml26
1 files changed, 13 insertions, 13 deletions
diff --git a/lib/gitlab/ci/templates/Maven.gitlab-ci.yml b/lib/gitlab/ci/templates/Maven.gitlab-ci.yml
index 65aa0794824..1e35c22d0b3 100644
--- a/lib/gitlab/ci/templates/Maven.gitlab-ci.yml
+++ b/lib/gitlab/ci/templates/Maven.gitlab-ci.yml
@@ -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