[macro] property logrotate
[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         - logrotate-default
25         - throttle:
26             enabled: true
27             max-total: 1
28             max-per-node: 1
29             option: 'project'
30
31     parameters:
32         - project-parameter:
33             project: '{project}'
34         - 'opnfv-build-ubuntu-defaults'
35         - gerrit-parameter:
36             branch: '{branch}'
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!"
57
58