[opera] create opera verify/daily/build jobs
[releng.git] / jjb / opera / opera-project-jobs.yml
1 - project:
2
3     name: opera-project
4
5     project: 'opera'
6
7     stream:
8         - master:
9             branch: '{stream}'
10             gs-pathname: ''
11
12     jobs:
13         - 'opera-build-{stream}'
14
15 ########################
16 # job templates
17 ########################
18 - job-template:
19     name: 'opera-build-{stream}'
20
21     concurrent: true
22
23     properties:
24         - throttle:
25             enabled: true
26             max-total: 1
27             max-per-node: 1
28             option: 'project'
29
30     parameters:
31         - project-parameter:
32             project: '{project}'
33         - 'opnfv-build-ubuntu-defaults'
34         - gerrit-parameter:
35             branch: '{branch}'
36
37     scm:
38         - git-scm
39
40     triggers:
41         - timed: 'H 23 * * *'
42
43     builders:
44         - 'opera-build-macro'
45
46 #####################################
47 # builder macros
48 #####################################
49 - builder:
50     name: 'opera-build-macro'
51     builders:
52         - shell: |
53             #!/bin/bash
54
55             echo "Hello world!"
56
57