Merge "Update validate-ar jobs for scandium"
[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
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: centos7-builder-2c-2g
33     archive-artifacts: '**/*.log'
34     build-timeout: 30
35     jjb-version: 2.9.1
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: centos7-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: centos7-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: centos7-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
127 - job-template:
128     name: 'builder-update-image-list'
129     project-type: freestyle
130     node: centos7-builder-2c-1g
131
132     properties:
133       - opendaylight-infra-properties:
134           build-days-to-keep: 7
135
136     parameters:
137       - opendaylight-infra-parameters:
138           os-cloud: vex
139           project: '{project}'
140           branch: '{branch}'
141           refspec: 'refs/heads/{branch}'
142           artifacts: '{archive-artifacts}'
143
144     scm:
145       - git-scm:
146           branch: '{branch}'
147
148     wrappers:
149       - opendaylight-infra-wrappers:
150           build-timeout: '{build-timeout}'
151       # Listed after to override openstack-infra-wrappers clouds.yaml definition
152       - config-file-provider:
153           files:
154             - file-id: clouds-yaml
155               target: '$HOME/.config/openstack/clouds.yaml'
156
157     triggers:
158       # Update image list every Monday to Friday at 11:00 UTC
159       - timed: '0 11 * * 1-5'
160
161     builders:
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: 'jluhrsen@gmail.com'
170
171     publishers:
172       - email-notification:
173           email-recipients: '{email-recipients}'
174           email-prefix: '[releng]'
175       - lf-infra-publish