Chore: Upgrade Jenkins-job-builder to 6.3.0
[releng/global-jjb.git] / .jjb-test / lf-ci-jobs.yaml
1 ---
2 - project:
3     name: gerrit-ci-jobs
4     jobs:
5       - "{project-name}-ci-jobs"
6
7     project-name: gerrit-ciman
8
9 - project:
10     name: github-ci-jobs
11     jobs:
12       - "{project-name}-github-ci-jobs"
13
14     project-name: github-ciman
15     github-org: fake-org
16
17 - project:
18     name: gerrit-openstack-jobs
19     jobs:
20       - gerrit-openstack-cron
21
22     project-name: gerrit-ciman
23
24     jenkins-urls: >
25       https://jenkins.example.org
26       https://jenkins.example.org/sandbox
27
28 - project:
29     name: github-openstack-jobs
30     jobs:
31       - github-openstack-cron
32
33     project-name: github-ciman
34     github-org: fake-org
35
36     jenkins-urls: >
37       https://jenkins.example.org
38       https://jenkins.example.org/sandbox
39
40 - project:
41     name: gerrit-packer-jobs
42     jobs:
43       - "{project-name}-packer-jobs"
44
45     packer-cloud-settings: ci-packer-cloud-env
46     project-name: gerrit-ciman
47     platforms:
48       - centos
49       - ubuntu1604
50
51     templates:
52       - java-builder
53       - mininet
54
55 - project:
56     name: github-packer-jobs
57     jobs:
58       - "{project-name}-github-packer-jobs"
59
60     packer-cloud-settings: ci-packer-cloud-env
61     project-name: github-ciman
62     github-org: fake-org
63     platforms:
64       - centos
65       - ubuntu1604
66
67     templates:
68       - java-builder
69       - mininet
70
71     update-cloud-images: false
72
73 - project:
74     name: throttle-ci-jobs
75     jobs:
76       - "{project-name}-ci-jobs"
77
78     throttle-enabled: true
79     throttle_categories:
80       - "cat1"
81       - "cat2"
82     throttle-max-per-node: 3
83     throttle-max-total: 2
84     throttle-option: "category"
85
86     project-name: throttle-ciman
87
88 - project:
89     name: ci-jobs-view
90     views:
91       - project-view
92
93     project-name: ci-jobs
94
95 # required by gerrit-sonar-prescan and github-sonar-prescan
96 - builder:
97     name: lf-sonar-prescan
98     builders:
99       - shell: "#!/bin/sh"
100
101 - project:
102     name: gerrit-sonar-jobs
103     project-name: gerrit-ciman
104     jobs:
105       - gerrit-sonar
106       - gerrit-sonar-prescan
107       - gerrit-sonar-prescan-script:
108           sonar-prescan-script: "#!/bin/sh"
109
110 - project:
111     name: github-sonar-jobs
112     project-name: github-ciman
113     jobs:
114       - github-sonar
115       - github-sonar-prescan
116       - github-sonar-prescan-script:
117           sonar-prescan-script: "#!/bin/sh"
118
119     github-org: fake-org