0baf7ba31a96e787c875bdee1b9a5b560f8d8cc0
[releng.git] / jjb / bottlenecks / bottlenecks.yml
1 ####################################
2 # Job configuration for bottlenecks
3 ####################################
4 - project:
5     name: bottlenecks
6     jobs:
7         - 'bottlenecks-test'
8         - 'bottlenecks-verify'
9
10     # stream:    branch with - in place of / (eg. stable-arno)
11     # branch:    branch (eg. stable/arno)
12     stream:
13         - master:
14             branch: 'master'
15
16     project: 'bottlenecks'
17     somevar: 'foo'
18
19 ########################
20 # job templates
21 ########################
22
23 - job-template:
24     name: 'bottlenecks-test'
25
26     project-type: freestyle
27
28     logrotate:
29         daysToKeep: 30
30         numToKeep: 10
31         artifactDaysToKeep: -1
32         artifactNumToKeep: -1
33
34     builders:
35         - shell: |
36             echo "Hello world from bottlenecks"
37
38
39 - job-template:
40     name: 'bottlenecks-verify'
41
42     node: master
43
44     project-type: freestyle
45
46     logrotate:
47         daysToKeep: 30
48         numToKeep: 10
49         artifactDaysToKeep: -1
50         artifactNumToKeep: -1
51
52     parameters:
53         - project-parameter:
54             project: '{project}'
55         - gerrit-parameter:
56             branch: 'master'
57
58     scm:
59         - gerrit-trigger-scm:
60             credentials-id: '{ssh-credentials}'
61             refspec: '$GERRIT_REFSPEC'
62             choosing-strategy: 'gerrit'
63
64     wrappers:
65         - ssh-agent-credentials:
66             user: '{ssh-credentials}'
67
68     triggers:
69         - gerrit:
70             trigger-on:
71                 - patchset-created-event:
72                     exclude-drafts: 'false'
73                     exclude-trivial-rebase: 'false'
74                     exclude-no-code-change: 'false'
75                 - draft-published-event
76                 - comment-added-contains-event:
77                     comment-contains-value: 'recheck'
78                 - comment-added-contains-event:
79                     comment-contains-value: 'reverify'
80             projects:
81               - project-compare-type: 'ANT'
82                 project-pattern: '{project}'
83                 branches:
84                   - branch-compare-type: 'ANT'
85                     branch-pattern: '**/master'
86
87     builders:
88        - shell:
89             !include-raw docu-build.sh