From 2169c9cbb45026d2ab356024a603e44db24abf89 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Wed, 19 Oct 2016 11:07:15 -0700 Subject: 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 --- jjb/opnfv/opnfv-docs.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'jjb/opnfv') 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: '*' -- cgit 1.2.3-korg