From: Jessica Wagantall Date: Mon, 7 May 2018 18:13:19 +0000 (-0700) Subject: Add mvn-params for docker jobs X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=f8f030a48a3d14836352869a1cd29b12f716738b;hp=7087ff627c74cea2ccf09ee0d9dc2b3447688069;p=ci-management.git Add mvn-params for docker jobs Add mvn-params optional parameter for docker daily job templates. Change-Id: I13f34380539e6b7180ebbc93d649115afbe2aca2 Issue-ID: CIMAN-158 Signed-off-by: Jessica Wagantall --- diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index 49446efbd..2182bf2b2 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -51,7 +51,7 @@ - maven-target: maven-version: '{maven-version}' pom: '{pom}' - goals: 'clean deploy -B -P {mvn-profile}' + goals: 'clean deploy -B -P {mvn-profile} {mvn-params}' settings: '{mvn-settings}' settings-type: cfp global-settings: 'global-settings' diff --git a/jjb/global-templates-java.yaml b/jjb/global-templates-java.yaml index b1750d603..768392414 100644 --- a/jjb/global-templates-java.yaml +++ b/jjb/global-templates-java.yaml @@ -1217,6 +1217,8 @@ artifacts: '{archive-artifacts}' - maven-exec: maven-version: '{maven-version}' + - maven-params: + mvn-params: '{mvn-params}' scm: - gerrit-trigger-scm: @@ -1250,6 +1252,7 @@ pom: '{docker-pom}' # use default as mvn-profile if profile is not needed mvn-profile: '{mvn-profile}' + mvn-params: '{mvn-params}' publishers: - infra-shiplogs: @@ -1285,6 +1288,8 @@ artifacts: '{archive-artifacts}' - maven-exec: maven-version: '{maven-version}' + - maven-params: + mvn-params: '{mvn-params}' scm: - gerrit-trigger-scm: refspec: '' @@ -1328,6 +1333,7 @@ properties: '{maven-properties}' # use default as mvn-profile if profile is not needed mvn-profile: '{mvn-profile}' + mvn-params: '{mvn-params}' publishers: - infra-shiplogs: maven-version: '{maven-version}' @@ -1597,6 +1603,8 @@ artifacts: '{archive-artifacts}' - maven-exec: maven-version: '{maven-version}' + - maven-params: + mvn-params: '{mvn-params}' scm: - gerrit-trigger-scm: @@ -1643,6 +1651,7 @@ pom: '{docker-pom}' # use default as mvn-profile if profile is not needed mvn-profile: '{mvn-profile}' + mvn-params: '{mvn-params}' publishers: - infra-shiplogs: @@ -1678,6 +1687,8 @@ artifacts: '{archive-artifacts}' - maven-exec: maven-version: '{maven-version}' + - maven-params: + mvn-params: '{mvn-params}' scm: - gerrit-trigger-scm: @@ -1726,6 +1737,7 @@ pom: '{docker-pom}' # use default as mvn-profile if profile is not needed mvn-profile: '{mvn-profile}' + mvn-params: '{mvn-params}' publishers: - infra-shiplogs: