From 8b2625baafa7908798bb74a432834d76a5bce17f Mon Sep 17 00:00:00 2001 From: Delia Popescu Date: Fri, 23 Feb 2018 11:43:26 +0200 Subject: [PATCH] Set functest repo as variable Related to: https://gerrit.opnfv.org/gerrit/#/c/52513/ JIRA: FUNCTEST-917 Change-Id: Ifdcc3c893134f3835ea12b134e55f9094d51c581 Signed-off-by: Delia Popescu --- jjb/releng/functest-docker.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/jjb/releng/functest-docker.yml b/jjb/releng/functest-docker.yml index 584dc302c..bfeae5eaa 100644 --- a/jjb/releng/functest-docker.yml +++ b/jjb/releng/functest-docker.yml @@ -205,6 +205,11 @@ name: GIT_BASE default: https://gerrit.opnfv.org/gerrit/$PROJECT description: 'Git URL to use on this Jenkins Slave' + - string: + name: REPO + default: "opnfv" + description: "Repository name for functest images" + disabled: '{obj:disabled}' @@ -219,8 +224,8 @@ esac sudo manifest-tool push from-args \ --platforms linux/amd64,linux/arm64 \ - --template opnfv/functest-{image}:ARCH-$tag \ - --target opnfv/functest-{image}:$tag + --template $REPO/functest-{image}:ARCH-$tag \ + --target $REPO/functest-{image}:$tag exit $? # parameter macro @@ -262,6 +267,10 @@ name: PROJECT default: "{project}" description: "Project name used to enable job conditions" + - string: + name: REPO + default: "opnfv" + description: "Repository name for functest images" # publisher macros - publisher: -- 2.16.6