summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jjb/global-macros.yaml2
-rw-r--r--jjb/global-templates-java.yaml12
2 files changed, 13 insertions, 1 deletions
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: