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