summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorwasala <przemyslaw.wasala@nokia.com>2018-06-19 10:10:18 +0200
committerwasala <przemyslaw.wasala@nokia.com>2018-08-02 15:01:22 +0200
commit50085cebb7ff7579f80bdf346b0b24087ab6010b (patch)
tree4573912dc0169bca48e79b788a471c7096939e54 /.gitlab-ci.yml
parenta684d478f8b81bba83123d4f1fd1ec3c29df73ca (diff)
Publish phase.
Added publish phase to merge requests action on GIT. Change-Id: I07808b97a24867faa5ed711217b0a68b91a2f983 Issue-ID: DCAEGEN2-557 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fe4eb093..dc36ce75 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,8 +17,8 @@ build:
- prh-app-server/target/site/jacoco
publish:
stage: publish
-# only:
-# - master
+ only:
+ - master
script:
- docker login $DOCKER_REPO_ADDR -u $DOCKER_REPO_USER -p $DOCKER_REPO_PASS
- mvn -e -DskipTests -Ddocker.repo.url="$DOCKER_REPO_ADDR" -Dnexus.staging="true" deploy