Use public address for auto generated review
[releng/builder.git] / jjb / releng-jobs.yaml
1 ---
2 - project:
3     name: builder-jobs
4     jobs:
5       - "{project-name}-rtd-jobs":
6           project-pattern: releng/builder
7           rtd-build-url: https://readthedocs.org/api/v2/webhook/opendaylight-releng-builder/32926/
8           rtd-token: e9fa62bd60a39c22de631791309ccacc37a9929e
9       - gerrit-jenkins-cfg-merge:
10           jenkins-silos: releng sandbox
11       - gerrit-jenkins-cfg-verify:
12           jenkins-silos: releng sandbox
13       - gerrit-jenkins-sandbox-cleanup
14       - gerrit-jjb-deploy-job
15       - gerrit-jjb-merge:
16           build-node: centos7-builder-4c-4g
17           build-timeout: 90
18       - gerrit-jjb-verify:
19           build-timeout: 90
20       - builder-check-poms
21       - builder-copy-sandbox-logs
22       - gerrit-tox-verify
23       # Automation for docs and jobs
24       - "builder-update-image-list":
25           archive-artifacts: docs/cloud-images.rst
26       - gerrit-info-yaml-verify
27
28     # The following values are only specified here
29     # so that code blocks look similar to other projects.
30     project: "releng/builder"
31     project-name: builder
32     stream: master
33     branch: master
34     build-node: centos7-builder-2c-2g
35     archive-artifacts: "**/*.log"
36     build-timeout: 30
37     jjb-version: 3.5.0
38
39 - project:
40     name: builder-openstack
41     jobs:
42       - gerrit-openstack-cron
43
44     project: "releng/builder"
45     project-name: builder
46     build-node: centos7-builder-2c-2g
47
48     jenkins-urls: >
49       https://jenkins.opendaylight.org/releng
50       https://jenkins.opendaylight.org/sandbox
51     openstack-cloud: vex
52
53 - job-template:
54     name: builder-check-poms
55     node: centos7-builder-2c-1g
56
57     project-type: freestyle
58
59     properties:
60       - opendaylight-infra-properties:
61           build-days-to-keep: 14
62
63     parameters:
64       - opendaylight-infra-parameters:
65           os-cloud: "{os-cloud}"
66           project: "{project}"
67           branch: "{branch}"
68           refspec: "refs/heads/{branch}"
69           artifacts: "{archive-artifacts}"
70
71     wrappers:
72       - opendaylight-infra-wrappers:
73           build-timeout: "{build-timeout}"
74
75     triggers:
76       - timed: "H H * * 1"
77
78     builders:
79       - shell: !include-raw-escape: check-poms.sh
80
81     publishers:
82       - email-notification:
83           email-recipients: "{email-recipients}"
84           email-prefix: "[releng]"
85       - lf-infra-publish
86
87 - job-template:
88     name: builder-copy-sandbox-logs
89     node: centos7-builder-2c-1g
90
91     project-type: freestyle
92
93     properties:
94       - opendaylight-infra-properties:
95           build-days-to-keep: 1
96
97     parameters:
98       - opendaylight-infra-parameters:
99           os-cloud: ""
100           project: ""
101           branch: ""
102           refspec: ""
103           artifacts: ""
104
105     wrappers:
106       - opendaylight-infra-wrappers:
107           build-timeout: 10
108
109     triggers:
110       - gerrit:
111           server-name: "{gerrit-server-name}"
112           trigger-on:
113             - comment-added-contains-event:
114                 comment-contains-value: "copy-logs:"
115           projects:
116             - project-compare-type: ANT
117               project-pattern: "**"
118               branches:
119                 - branch-compare-type: ANT
120                   branch-pattern: "**"
121
122     builders:
123       - shell: !include-raw-escape: copy-sandbox-logs.sh
124
125     publishers:
126       - lf-infra-publish
127
128 - job-template:
129     name: "builder-update-image-list"
130     project-type: freestyle
131     node: centos7-builder-2c-1g
132
133     properties:
134       - opendaylight-infra-properties:
135           build-days-to-keep: 7
136
137     parameters:
138       - opendaylight-infra-parameters:
139           os-cloud: vex
140           project: "{project}"
141           branch: "{branch}"
142           refspec: "refs/heads/{branch}"
143           artifacts: "{archive-artifacts}"
144
145     scm:
146       - git-scm:
147           branch: "{branch}"
148
149     wrappers:
150       - opendaylight-infra-wrappers:
151           build-timeout: "{build-timeout}"
152       # Listed after to override openstack-infra-wrappers clouds.yaml definition
153       - config-file-provider:
154           files:
155             - file-id: clouds-yaml
156               target: "$HOME/.config/openstack/clouds.yaml"
157
158     triggers:
159       # Update image list every Monday to Friday at 11:00 UTC
160       - timed: "0 11 * * 1-5"
161
162     builders:
163       - lf-infra-pre-build
164       - shell: !include-raw-escape: opendaylight-infra-update-image-list.sh
165       - lf-infra-push-gerrit-patch:
166           project: "{project}"
167           gerrit-user: "jenkins-$SILO"
168           gerrit-host: "git.opendaylight.org"
169           gerrit-topic: "releng-update-cloud-image-list"
170           gerrit-commit-message: "Update cloud image list docs"
171           reviewers-email: "integration-dev@lists.opendaylight.org"
172
173     publishers:
174       - email-notification:
175           email-recipients: "{email-recipients}"
176           email-prefix: "[releng]"
177       - lf-infra-publish