summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorAric Gardner <agardner@linuxfoundation.org>2015-09-01 09:37:53 -0400
committerAric Gardner <agardner@linuxfoundation.org>2015-09-01 09:45:56 -0400
commit747b06d445f5a552d7005ebba8330a0812296cf6 (patch)
tree14b1316e279d824e21fafe9b8f0132d4e09210ce /jjb
parent15ba147debf1f9a3e4d4392ce468141b25c2bd7a (diff)
Add releng docs merge job
Change-Id: Ie45f3b46293ae0d7389658f5088ac7779b0d220a Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/releng/releng.yml60
1 files changed, 60 insertions, 0 deletions
diff --git a/jjb/releng/releng.yml b/jjb/releng/releng.yml
index c24fcb065..87a73c490 100644
--- a/jjb/releng/releng.yml
+++ b/jjb/releng/releng.yml
@@ -9,6 +9,7 @@
jobs:
- 'releng-verify'
+ - 'releng-merge'
# stream: branch with - in place of / (eg. stable-arno)
# branch: branch (eg. stable/arno)
@@ -79,3 +80,62 @@
builders:
- shell:
!include-raw docu-build-new.sh
+
+
+- job-template:
+ name: 'releng-merge'
+
+ # builder-merge job to run JJB update
+ #
+ # This job's purpose is to update all the JJB
+
+ node: master
+
+ project-type: freestyle
+
+ logrotate:
+ daysToKeep: 30
+ numToKeep: 40
+ artifactDaysToKeep: -1
+ artifactNumToKeep: 5
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: 'master'
+
+ scm:
+ - gerrit-trigger-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: ''
+ choosing-strategy: 'default'
+
+ wrappers:
+ - ssh-agent-credentials:
+ user: '{ssh-credentials}'
+
+ triggers:
+ - gerrit:
+ trigger-on:
+ - change-merged-event
+ - comment-added-contains-event:
+ comment-contains-value: 'remerge'
+ projects:
+ - project-compare-type: 'ANT'
+ project-pattern: 'releng'
+ branches:
+ - branch-compare-type: 'ANT'
+ branch-pattern: '**/master'
+ file-paths:
+ - compare-type: ANT
+ pattern: 'utils/**'
+ - compare-type: ANT
+ pattern: 'docs/**'
+ forbidden-file-paths:
+ - compare-type: ANT
+ pattern: 'jjb/**'
+
+ builders:
+ - shell:
+ !include-raw docu-build-new.sh