clean scm defenitions
[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         - colorado:
20             branch: 'stable/{stream}'
21             gs-pathname: '/{stream}'
22
23 - job-template:
24     name: 'armband-{installer}-build-daily-{stream}'
25
26     concurrent: false
27
28     properties:
29         - throttle:
30             enabled: true
31             max-total: 1
32             max-per-node: 1
33             option: 'project'
34
35     parameters:
36         - project-parameter:
37             project: '{project}'
38         - 'opnfv-build-arm-defaults'
39         - '{installer}-defaults'
40         - armband-project-parameter:
41             gs-pathname: '{gs-pathname}'
42
43     scm:
44         - git-scm
45
46     triggers:
47         - pollscm:
48             cron: '0 H/4 * * *'
49
50     wrappers:
51         - timeout:
52             timeout: 360
53             fail: true
54
55     builders:
56         - shell:
57             !include-raw-escape: ./build.sh
58         - shell:
59             !include-raw-escape: ./upload-artifacts.sh
60
61     publishers:
62         - email:
63             recipients: armband@enea.com
64
65 ########################
66 # parameter macros
67 ########################
68 - parameter:
69     name: armband-project-parameter
70     parameters:
71         - string:
72             name: BUILD_DIRECTORY
73             default: $WORKSPACE/build_output
74             description: "Directory where the build artifact will be located upon the completion of the build."
75         - string:
76             name: CACHE_DIRECTORY
77             default: $HOME/opnfv/cache/$INSTALLER_TYPE
78             description: "Directory where the cache to be used during the build is located."
79         - string:
80             name: GS_URL
81             default: artifacts.opnfv.org/$PROJECT{gs-pathname}
82             description: "URL to Google Storage."
83         - choice:
84             name: FORCE_BUILD
85             choices:
86                 - 'false'
87                 - 'true'
88             description: 'Force build even if there are no changes in the armband repo. Default false'