Exposes GERRIT_REFSPEC parameter to build 43/47443/1
authorTim Rozet <trozet@redhat.com>
Fri, 17 Nov 2017 23:12:18 +0000 (18:12 -0500)
committerTim Rozet <trozet@redhat.com>
Fri, 17 Nov 2017 23:12:18 +0000 (18:12 -0500)
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>
jjb/apex/apex-project-jobs.yml

index 5807286..b12b101 100644 (file)
           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