summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDelia Popescu <delia.popescu@enea.com>2018-02-23 11:43:26 +0200
committerDelia Popescu <delia.popescu@enea.com>2018-02-23 12:06:05 +0200
commit8b2625baafa7908798bb74a432834d76a5bce17f (patch)
treeba19397fcd8f6fec8bca7fdd8f2d87c029438606
parentb5f262af5efb6a4f2b004c9b9133e70b57aa1793 (diff)
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 <delia.popescu@enea.com>
-rw-r--r--jjb/releng/functest-docker.yml13
1 files 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: