From 5ceb80c42816fea021fdf7abe154a4709294d4a3 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Fri, 17 Nov 2017 18:12:18 -0500 Subject: 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 --- jjb/apex/apex-project-jobs.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'jjb/apex/apex-project-jobs.yml') 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 -- cgit 1.2.3-korg