summaryrefslogtreecommitdiffstats
path: root/jjb/apex
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-11-17 18:12:18 -0500
committerTim Rozet <trozet@redhat.com>2017-11-17 18:12:18 -0500
commit5ceb80c42816fea021fdf7abe154a4709294d4a3 (patch)
treeac5c18166dc968b36cad56f74dffc23cebc3d803 /jjb/apex
parentaae2c9fc13bb2ec28afc7500ba4a1ecd0db9cddd (diff)
Exposes GERRIT_REFSPEC parameter to build
This value is usually passed by parent jobs (daily, verify, etc), but exposing it as parameter should allow us to build from JJB GUI. Change-Id: I294fbcd200ff5d8bbfca77681296c6e59d7f0063 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb/apex')
-rw-r--r--jjb/apex/apex-project-jobs.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/jjb/apex/apex-project-jobs.yml b/jjb/apex/apex-project-jobs.yml
index 58072865d..b12b1015c 100644
--- a/jjb/apex/apex-project-jobs.yml
+++ b/jjb/apex/apex-project-jobs.yml
@@ -46,6 +46,10 @@
branch: '{branch}'
- apex-parameter:
gs-pathname: '{gs-pathname}'
+ - string:
+ name: GERRIT_REFSPEC
+ default: 'refs/heads/{branch}'
+ description: "JJB configured GERRIT_REFSPEC parameter"
scm:
- git-scm-gerrit