From 6b4185916890e54ee4f773a0bd34a9c44a38dcf8 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Thu, 18 Jan 2018 12:11:00 -0800 Subject: Add GERRIT_REFSPEC to 'project-parameter' Macro GERRIT_REFSPEC is always passed by the gerrit-trigger plugin when a job is triggered by Gerrit. Because it is not explicily defined, there is no way to manually trigger jobs, as the git clone looks up the list of refs by GERRIT_REFSPEC. Being able to manually trigger jobs (with node parameters so they can be restricted) is very helpful in debugging CI issues. Change-Id: I8a1d9ea380902fc95f30482e5acb616347709ab1 Signed-off-by: Trevor Bramwell --- jjb/apex/apex-project-jobs.yml | 4 ---- 1 file changed, 4 deletions(-) (limited to 'jjb/apex') diff --git a/jjb/apex/apex-project-jobs.yml b/jjb/apex/apex-project-jobs.yml index b12b1015c..58072865d 100644 --- a/jjb/apex/apex-project-jobs.yml +++ b/jjb/apex/apex-project-jobs.yml @@ -46,10 +46,6 @@ 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