Allow setting custom maven goal for integration docker jobs
Change-Id: I62dada8942f04df6b3e1ee51fc5482249baf33ad
Issue-ID: INT-1508
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
diff --git a/jjb/integration/integration-templates-docker.yaml b/jjb/integration/integration-templates-docker.yaml
index 940b524..dd7c05d 100644
--- a/jjb/integration/integration-templates-docker.yaml
+++ b/jjb/integration/integration-templates-docker.yaml
@@ -5,6 +5,7 @@
project-type: freestyle
node: 'ubuntu1804-docker-8c-8g'
docker-image-name: ''
+ mvn-goals: 'clean package docker:build docker:push'
properties:
- infra-properties:
@@ -48,7 +49,7 @@
- maven-target:
maven-version: '{maven-version}'
pom: '{pom}'
- goals: 'clean package docker:build docker:push'
+ goals: '{mvn-goals}'
settings: '{mvn-settings}'
settings-type: cfp
global-settings: 'global-settings'
@@ -67,6 +68,7 @@
project-type: freestyle
node: 'ubuntu1804-docker-8c-8g'
docker-image-name: ''
+ mvn-goals: 'clean package docker:build'
properties:
- infra-properties:
@@ -110,7 +112,7 @@
- maven-target:
maven-version: '{maven-version}'
pom: '{pom}'
- goals: 'clean package docker:build'
+ goals: '{mvn-goals}'
settings: '{mvn-settings}'
settings-type: cfp
global-settings: 'global-settings'