aboutsummaryrefslogtreecommitdiffstats
path: root/jobs/README.adoc
blob: b8c81647172f98ac9cb2565d182a5e67750d751a (plain)
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
This "jobs" folder holds
https://docs.openstack.org/infra/jenkins-job-builder/index.html[Jenkins Job Builder]
YAML files, which define jenkins' jobs.

One can declare a single job per file or create a job-template to declare several jobs of the same kind.
The gerrit-verifications.yaml file for example holds all gerrit verification jobs.

'''
*WIP:* Furthermore, we're planning to automatically deploy merged changes by having two jobs based on gerrit events:

pre-merge:

- test generation of XML

post-merge:

- test generation of XML
- deploy jobs

'''
The XML test generation is done by:

 jenkins-jobs test jobs/


The deployment will be done by:

 jenkins-jobs --conf "$JJB_CONFIGFILE" update jobs/

but it is not clear *yet* how we want to store/inject the `"$JJB_CONFIGFILE"` part.