Add GERRIT_REFSPEC to 'project-parameter' Macro 91/50791/2
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Thu, 18 Jan 2018 20:11:00 +0000 (12:11 -0800)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Tue, 23 Jan 2018 18:21:37 +0000 (10:21 -0800)
commit6b4185916890e54ee4f773a0bd34a9c44a38dcf8
treee474d5913e0d68aa4df04da82b932ea7b20a046d
parent5f9c32e9fb4048677150bf541e8f5c3cc3d43001
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 <tbramwell@linuxfoundation.org>
jjb/apex/apex-project-jobs.yml
jjb/ci_gate_security/opnfv-ci-gate-security.yml
jjb/global/releng-macros.yml
jjb/qtip/qtip-verify-jobs.yml