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