-
Notifications
You must be signed in to change notification settings - Fork 20
/
jjb_template.jinja2
84 lines (76 loc) · 4.48 KB
/
jjb_template.jinja2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
- job:
name: {{ JOB_NAME }}
project-type: pipeline
triggers:
- timed: {% if 'daily-powervs-dallas-p9-stability-check' in JOB_NAME %}"0 */5 * * * "
{% elif 'daily-powervs-dallas12-p9-stability-check' in JOB_NAME %}"0 */5 * * * "
{% elif 'daily-powervs-frankfurt01-p9-stability-check' in JOB_NAME %}"0 */5 * * * "
{% elif 'daily-powervs-frankfurt02-p9-stability-check' in JOB_NAME %}"0 */5 * * * "
{% elif 'daily-powervs-london-04-p9-stability-check' in JOB_NAME %}"0 */5 * * * "
{% elif 'daily-powervs-london-06-p9-stability-check' in JOB_NAME %}"0 */5 * * * "
{% elif 'daily-powervs-montreal01-p9-stability-check' in JOB_NAME %}"0 */5 * * * "
{% elif 'daily-powervs-osaka21-p9-stability-check' in JOB_NAME %}"0 */5 * * * "
{% elif 'daily-powervs-saopaulo01-p9-stability-check' in JOB_NAME %}"0 */5 * * * "
{% elif 'daily-powervs-sydney-p9-stability-check' in JOB_NAME %}"0 */5 * * * "
{% elif 'daily-powervs-tokyo-p9-stability-check' in JOB_NAME %}"0 */5 * * * "
{% elif 'daily-powervs-toronto-p9-stability-check' in JOB_NAME %}"0 */5 * * * "
{% elif 'daily-powervs-washington-p9-stability-check' in JOB_NAME %}"0 */5 * * * "
{% elif 'daily-ocp4.10-powervs-saopaulo01-p9-min' in JOB_NAME %}"0 04 * * * "
{% elif 'daily-ocp4.6-powervs-script-montreal01-p9-min' in JOB_NAME %}"0 00 * * * "
{% elif 'daily-ocp4.7-powervs-script-montreal01-p9-min' in JOB_NAME %}"0 05 * * * "
{% elif 'daily-ocp4.8-powervs-script-montreal01-p9-min' in JOB_NAME %}"0 09 * * *"
{% elif 'daily-ocp4.9-powervs-montreal01-p9-min' in JOB_NAME %}"0 13 * * *"
{% elif 'daily-ocp4.10-powervs-montreal01-p9-min' in JOB_NAME %}"0 21 * * * "
{% elif 'daily-ocp4.10-powervs-montreal01-p9-scale' in JOB_NAME %}"0 17 * * *"
{% elif 'daily-ocp4.6-powervm-p8-min' in JOB_NAME %}"00 07 * * * "
{% elif 'daily-ocp4.6-to-4.7-powervm-p8-min-upgrade' in JOB_NAME %}"00 08 * * 2"
{% elif 'daily-ocp4.7-to-4.8-powervm-p8-min-upgrade' in JOB_NAME %}"00 08 * * 1,5"
{% elif 'daily-ocp4.8-to-4.9-powervm-p8-min-upgrade' in JOB_NAME %}"00 08 * * 3,4,6"
{% elif 'daily-ocp4.9-powervm-p8-vscsi-min' in JOB_NAME %}"00 08 * * 7"
{% elif 'daily-ocp4.9-powervm-p8-min' in JOB_NAME %}"00 12,00 * * * "
{% elif 'daily-ocp4.10-powervm-p8-min' in JOB_NAME %}"00 13 * * * "
{% elif 'daily-ocp4.10-powervm-p8-nova-min' in JOB_NAME %}"00 14 * * * "
{% elif 'daily-ocp4.7-powervm-p9-min' in JOB_NAME %}"00 15 * * * "
{% elif 'daily-ocp4.8-powervm-p9-min' in JOB_NAME %}"00 16 * * * "
{% elif 'daily-ocp4.9-powervm-p9-extproxy-min' in JOB_NAME %}"00 20 * * 3,6 "
{% elif 'daily-ocp4.9-powervm-p9-sriov-min' in JOB_NAME %}"00 20 * * 1,4 "
{% elif 'daily-ocp4.9-powervm-p9-chaos-min' in JOB_NAME %}"00 20 * * 7 "
{% elif 'daily-ocp4.9-powervm-p9-ssp-min' in JOB_NAME %}"00 20 * * 2,5 "
{% elif 'daily-ocp4.9-powervm-p9-max' in JOB_NAME %}"00 00 * * * "
{% elif 'daily-ocp4.10-powervm-p9-max' in JOB_NAME %}"00 04 * * * "
{% elif 'daily-ocp4.10-powervm-p9-sriov-min' in JOB_NAME %}"00 08 * * 1,4 "
{% elif 'daily-ocp4.10-powervm-p9-ssp-min' in JOB_NAME %}"00 08 * * 2,5 "
{% elif 'daily-ocp4.10-powervm-p9-extproxy-min' in JOB_NAME %}" "
{% elif 'daily-ocp4.10-powervm-p9-vscsi-min' in JOB_NAME %}"00 08 * * 3,6 "
{% elif 'daily-ocp4.9-powervm-p10-min' in JOB_NAME %}"00 17 * * * "
{% elif 'daily-ocp4.10-powervm-p10-min' in JOB_NAME %}"00 21 * * * "
{% elif 'daily-ocp4.10-powervm-p10-ssp-min' in JOB_NAME %}"00 08 * * 2,5 "
{% elif 'mirror-openshift-release' in JOB_NAME %}"@hourly"
{% elif 'poll-powervs-images' in JOB_NAME %}"@daily"
{% elif 'daily-jenkins-backup-job' in JOB_NAME %}"@daily"
{% else %}""
{% endif %}
sandbox: true
concurrent: true
properties:
- copyartifact:
projects: "*"
{% if 'mirror-openshift-release' in JOB_NAME %}
- build-discarder:
num-to-keep: 200
artifact-num-to-keep: 200
{% else %}
- build-discarder:
num-to-keep: 30
artifact-num-to-keep: 30
{% endif %}
pipeline-scm:
scm:
- git:
url: https://github.com/ppc64le-cloud/jenkins-infra.git
branches:
- master
credentials-id: github
clean: true
script-path: {{ JENKINS_FILE }}