From b72f826f1708b29337dd43a47113de60525c4d61 Mon Sep 17 00:00:00 2001 From: Hrishikesh Shinde Date: Tue, 7 Aug 2018 15:02:57 +0530 Subject: [PATCH] Fixes related to content repository removal (#415) Previous PR#409 has changed the CD flow, however, missed changes for CI flow. This patch fixes the CI flow by updating maven commands that prevent interaction with the content repository. Fixes https://github.com/openshiftio/openshift.io/issues/3895 Related PR https://github.com/fabric8io/fabric8-pipeline-library/pull/409 --- vars/mavenCI.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/mavenCI.groovy b/vars/mavenCI.groovy index 016c7e38..187a5548 100644 --- a/vars/mavenCI.groovy +++ b/vars/mavenCI.groovy @@ -33,7 +33,7 @@ def call(body) { stage('Build + Unit test') { // set a unique temp version so we can download artifacts from nexus and run acceptance tests sh "mvn -U versions:set -DnewVersion=${version}" - sh "mvn clean -B -e -U deploy -Dmaven.test.skip=${skipTests} -P openshift" + sh "mvn clean -B -e -U install -Dmaven.test.skip=${skipTests} -P openshift" } def s2iMode = utils.supportsOpenShiftS2I()