summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2018-02-27 13:49:16 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-02-27 13:49:16 +0000
commit146464fc62732f55904b74e5a2327fd2f257114f (patch)
tree0213d7c1738179389b8910291f7165c2fcc9673d
parent754aac40df373cda74bf64bb830d8d5acd65a2c5 (diff)
parent8b2625baafa7908798bb74a432834d76a5bce17f (diff)
Merge "Set functest repo as variable"
-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: