From: Trevor Bramwell Date: Wed, 19 Oct 2016 18:07:15 +0000 (-0700) Subject: Update opnfv-docs Merge Job Trigger and Parameter X-Git-Tag: danube.1.0~697^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=2169c9cbb45026d2ab356024a603e44db24abf89;p=releng.git Update opnfv-docs Merge Job Trigger and Parameter - Adds 'GERRIT_REFSPEC' parameter By setting a default to 'refs/heads/{branch}' (which will evaluate to either 'refs/heads/master', or 'refs/heads/stable/colorado') we will be able to manually trigger patchsets. - Adds 'rebuild docs' comment to trigger Because 'remerge' is used by multiple projects, adding 'rebuild docs' will allow anyone to trigger only a rebuilding of the documentation, while still rebuilding them on a 'remerge' comment. Change-Id: I596f3e8bf412077e5e505555cb0654394a32d213 Signed-off-by: Trevor Bramwell --- diff --git a/jjb/opnfv/opnfv-docs.yml b/jjb/opnfv/opnfv-docs.yml index 0ac8aa7e0..307c1db44 100644 --- a/jjb/opnfv/opnfv-docs.yml +++ b/jjb/opnfv/opnfv-docs.yml @@ -85,6 +85,10 @@ name: GS_URL default: '$GS_BASE{gs-pathname}' description: "Directory where the build artifact will be located upon the completion of the build." + - string: + name: GERRIT_REFSPEC + default: 'refs/heads/{branch}' + description: "JJB configured GERRIT_REFSPEC parameter" scm: - gerrit-trigger-scm: @@ -98,6 +102,8 @@ - change-merged-event - comment-added-contains-event: comment-contains-value: 'remerge' + - comment-added-contains-event: + comment-contains-value: 'rebuild docs' projects: - project-compare-type: 'ANT' project-pattern: '*'