14ef95ba9a6674bc000d3ce4edb90cd5b4e8d638
[releng.git] / jjb / genesis / genesis-docs.yml
1 # this is the job configuration for bgs
2 - project:
3
4     name: genesis-docs
5
6     jobs:
7         - 'genesis-build-docs'
8
9     # stream:    branch with - in place of / (eg. stable-helium)
10     # branch:    branch (eg. stable/helium)
11     stream:
12         - master:
13             branch: 'master'
14
15     project: 'genesis'
16
17 ########################
18 # job templates
19 ########################
20 - job-template:
21     name: 'genesis-build-docs'
22
23     project-type: freestyle
24
25     logrotate:
26         daysToKeep: 30
27         numToKeep: 40
28         artifactDaysToKeep: -1
29         artifactNumToKeep: 5
30
31     parameters:
32         - project-parameter:
33             project: '{project}'
34         - gerrit-parameter:
35             branch: 'master'
36
37     scm:
38         - gerrit-trigger-scm:
39             credentials-id: '{ssh-credentials}'
40             refspec: ''
41             choosing-strategy: 'default'
42
43     wrappers:
44         - ssh-agent-credentials:
45             user: '{ssh-credentials}'
46
47     triggers:
48         - gerrit:
49             trigger-on:
50                 - change-merged-event
51                 - comment-added-contains-event:
52                     comment-contains-value: 'remerge'
53             projects:
54               - project-compare-type: 'ANT'
55                 project-pattern: 'genesis'
56                 branches:
57                     - branch-compare-type: 'ANT'
58                       branch-pattern: '**/master'
59
60     builders:
61         - shell:
62             !include-raw build-docu.sh
63