Set functest repo as variable 09/52509/2
authorDelia Popescu <delia.popescu@enea.com>
Fri, 23 Feb 2018 09:43:26 +0000 (11:43 +0200)
committerDelia Popescu <delia.popescu@enea.com>
Fri, 23 Feb 2018 10:06:05 +0000 (12:06 +0200)
Related to: https://gerrit.opnfv.org/gerrit/#/c/52513/

JIRA: FUNCTEST-917

Change-Id: Ifdcc3c893134f3835ea12b134e55f9094d51c581
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
jjb/releng/functest-docker.yml

index 584dc30..bfeae5e 100644 (file)
           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}'
 
           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
           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: