Allow GERRIT_* variables to be overridden manually in the docker-publish job
Change-Id: Iee6ec5779f15c9eb7d703b7a7ed38783b4fa0a1a
diff --git a/jjb/docker-publish.yaml b/jjb/docker-publish.yaml
index 1c7d190..8315872 100644
--- a/jjb/docker-publish.yaml
+++ b/jjb/docker-publish.yaml
@@ -42,6 +42,16 @@
description: 'git ref to build (commit hash or tag)'
- string:
+ name: projectName
+ default: '$GERRIT_PROJECT'
+ description: 'Name of the project in Gerrit'
+
+ - string:
+ name: branchName
+ default: '$GERRIT_BRANCH'
+ description: 'Branch of the project in Gerrit'
+
+ - string:
name: dockerRepo
default: '{docker-repo}'
description: "Docker repository to push to ('opencord', 'xosproject', etc.)"