diff options
-rw-r--r-- | .gitlab-ci.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a1d94acf..c35353b3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,14 +18,18 @@ build: - hv-collector-dcae-app-simulator/target/reports - hv-collector-xnf-simulator/target/reports - publish: stage: publish only: - master script: - docker login $DOCKER_REPO_ADDR -u $DOCKER_REPO_USER -p $DOCKER_REPO_PASS - - mvn -e -DskipTests -DskipAnalysis -Ddocker-image.registry="$DOCKER_REPO_ADDR" deploy + - | + mvn -e -DskipTests -DskipAnalysis \ + -Ddocker-image.registry="$DOCKER_REPO_ADDR" \ + -Ddocker.http_proxy="http://$PROXY_HOST:$PROXY_PORT" \ + -Ddocker.https_proxy="http://$PROXY_HOST:$PROXY_PORT" \ + deploy - "curl -X POST -F token=$INTEGRATION_TESTS_TRIGGER_TOKEN -F ref=master https://gitlabe1.ext.net.nokia.com/api/v4/projects/33403/trigger/pipeline" pages: |