summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2016-10-19 11:07:15 -0700
committerTrevor Bramwell <tbramwell@linuxfoundation.org>2016-10-19 11:09:44 -0700
commit2169c9cbb45026d2ab356024a603e44db24abf89 (patch)
treef8cc854f77ba92a552f9be2395378f05d40b962c
parenta26858a97ee50374b406cdbaadad1284ae4b6185 (diff)
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 <tbramwell@linuxfoundation.org>
-rw-r--r--jjb/opnfv/opnfv-docs.yml6
1 files changed, 6 insertions, 0 deletions
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: '*'