From 89e330d3ba40f6048055f8545cf2ab3e6af1d95d Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Wed, 29 Apr 2020 00:06:10 -0700 Subject: [PATCH] Allow setting custom maven goal for integration docker jobs Change-Id: I62dada8942f04df6b3e1ee51fc5482249baf33ad Issue-ID: INT-1508 Signed-off-by: Bartek Grzybowski --- jjb/integration/integration-templates-docker.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jjb/integration/integration-templates-docker.yaml b/jjb/integration/integration-templates-docker.yaml index 940b524fa..dd7c05d20 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' -- 2.16.6