Enable Danube Jobs
[releng.git] / jjb / armband / armband-project-jobs.yml
1 ###################################################
2 # All the jobs except verify have been removed!
3 # They will only be enabled on request by projects!
4 ###################################################
5 - project:
6     name: armband
7
8     project: '{name}'
9
10     installer: 'fuel'
11
12     jobs:
13         - 'armband-{installer}-build-daily-{stream}'
14
15     stream:
16         - master:
17             branch: '{stream}'
18             gs-pathname: ''
19             disabled: false
20         - danube:
21             branch: 'stable/{stream}'
22             gs-pathname: '/{stream}'
23             disabled: false
24
25 - job-template:
26     name: 'armband-{installer}-build-daily-{stream}'
27
28     disabled: '{obj:disabled}'
29
30     concurrent: false
31
32     properties:
33         - logrotate-default
34         - throttle:
35             enabled: true
36             max-total: 1
37             max-per-node: 1
38             option: 'project'
39
40     parameters:
41         - project-parameter:
42             project: '{project}'
43             branch: '{branch}'
44         - 'opnfv-build-enea-defaults'
45         - '{installer}-defaults'
46         - armband-project-parameter:
47             gs-pathname: '{gs-pathname}'
48
49     scm:
50         - git-scm
51
52     triggers:
53         - pollscm:
54             cron: '0 H/4 * * *'
55
56     wrappers:
57         - timeout:
58             timeout: 360
59             fail: true
60
61     builders:
62         - shell:
63             !include-raw-escape: ./build.sh
64         - shell:
65             !include-raw-escape: ./upload-artifacts.sh
66
67     publishers:
68         - email:
69             recipients: armband@enea.com
70
71 ########################
72 # parameter macros
73 ########################
74 - parameter:
75     name: armband-project-parameter
76     parameters:
77         - string:
78             name: BUILD_DIRECTORY
79             default: $WORKSPACE/build_output
80             description: "Directory where the build artifact will be located upon the completion of the build."
81         - string:
82             name: CACHE_DIRECTORY
83             default: $HOME/opnfv/cache/$INSTALLER_TYPE
84             description: "Directory where the cache to be used during the build is located."
85         - string:
86             name: GS_URL
87             default: artifacts.opnfv.org/$PROJECT{gs-pathname}
88             description: "URL to Google Storage."
89         - choice:
90             name: FORCE_BUILD
91             choices:
92                 - 'false'
93                 - 'true'
94             description: 'Force build even if there are no changes in the armband repo. Default false'