Skip to content

Commit d733ee0

Browse files
Hrishikesh Shinderupalibehera
Hrishikesh Shinde
authored andcommitted
fixes deploy goal for maven canary release (#417)
With respect to removal of content repository issue openshiftio/openshift.io#3895 maven canary release target has changed from deploy to install which is breaking other workflows in the fabric8 CD. This patch fixes the issue by reverting maven target to deploy. Fixes openshiftio/openshift.io#4151
1 parent b72f826 commit d733ee0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vars/mavenCI.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def call(body) {
3333
stage('Build + Unit test') {
3434
// set a unique temp version so we can download artifacts from nexus and run acceptance tests
3535
sh "mvn -U versions:set -DnewVersion=${version}"
36-
sh "mvn clean -B -e -U install -Dmaven.test.skip=${skipTests} -P openshift"
36+
sh "mvn clean -B -e -U deploy -Dmaven.test.skip=${skipTests} -P openshift"
3737
}
3838

3939
def s2iMode = utils.supportsOpenShiftS2I()

vars/mavenCanaryRelease.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def call(body) {
5555
}
5656
}
5757

58-
sh "mvn clean -B -e -U install -Dmaven.test.skip=${skipTests} ${spaceLabelArg} -P openshift"
58+
sh "mvn clean -B -e -U deploy -Dmaven.test.skip=${skipTests} ${spaceLabelArg} -P openshift"
5959

6060

6161
junitResults(body);

0 commit comments

Comments
 (0)