Merge "Integrate functest with ARM Architecture"
[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         - euphrates:
21             branch: 'stable/{stream}'
22             gs-pathname: '/{stream}'
23             disabled: true
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         - email-jenkins-admins-on-failure
71
72 ########################
73 # parameter macros
74 ########################
75 - parameter:
76     name: armband-project-parameter
77     parameters:
78         - string:
79             name: BUILD_DIRECTORY
80             default: $WORKSPACE/build_output
81             description: "Directory where the build artifact will be located upon the completion of the build."
82         - string:
83             name: CACHE_DIRECTORY
84             default: $HOME/opnfv/cache/$INSTALLER_TYPE
85             description: "Directory where the cache to be used during the build is located."
86         - string:
87             name: GS_URL
88             default: artifacts.opnfv.org/$PROJECT{gs-pathname}
89             description: "URL to Google Storage."
90         - choice:
91             name: FORCE_BUILD
92             choices:
93                 - 'false'
94                 - 'true'
95             description: 'Force build even if there are no changes in the armband repo. Default false'