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