1 # jenkins job templates for Fuel
10 #--------------------------------
12 #--------------------------------
20 branch: 'stable/{stream}'
22 gs-pathname: '/{stream}'
23 #--------------------------------
24 # POD, INSTALLER, AND BRANCH MAPPING
25 #--------------------------------
27 #--------------------------------
30 slave-label: fuel-baremetal
33 slave-label: fuel-virtual
36 slave-label: fuel-baremetal
39 slave-label: fuel-virtual
41 #--------------------------------
43 #--------------------------------
46 - 'os-nosdn-nofeature-ha':
47 auto-trigger-name: 'weekly-trigger-disabled'
50 - 'fuel-{scenario}-{pod}-weekly-{stream}'
51 - 'fuel-deploy-{pod}-weekly-{stream}'
53 ########################
55 ########################
57 name: 'fuel-{scenario}-{pod}-weekly-{stream}'
59 disabled: '{obj:disabled}'
71 use-build-blocker: true
73 - 'fuel-os-.*?-{pod}-daily-.*'
74 - 'fuel-os-.*?-{pod}-weekly-.*'
79 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
82 - '{auto-trigger-name}'
88 - '{installer}-defaults'
89 - '{slave-label}-defaults':
90 installer: '{installer}'
94 - fuel-weekly-parameter:
95 gs-pathname: '{gs-pathname}'
99 description: "Built on $NODE_NAME"
101 - project: 'fuel-deploy-{pod}-weekly-{stream}'
102 current-parameters: false
103 predefined-parameters:
104 DEPLOY_SCENARIO={scenario}
108 - project: 'functest-fuel-{pod}-weekly-{stream}'
109 current-parameters: false
110 predefined-parameters:
111 DEPLOY_SCENARIO={scenario}
115 build-step-failure-threshold: 'never'
116 failure-threshold: 'never'
117 unstable-threshold: 'FAILURE'
121 recipients: peter.barabas@ericsson.com fzhadaev@mirantis.com
122 - email-jenkins-admins-on-failure
125 name: 'fuel-deploy-{pod}-weekly-{stream}'
127 disabled: '{obj:disabled}'
139 use-build-blocker: true
141 - 'fuel-deploy-{pod}-daily-.*'
142 - 'fuel-deploy-generic-daily-.*'
143 - 'fuel-deploy-{pod}-weekly-.*'
144 - 'fuel-deploy-generic-weekly-.*'
151 - '{installer}-defaults'
152 - '{slave-label}-defaults':
153 installer: '{installer}'
155 name: DEPLOY_SCENARIO
156 default: 'os-odl_l2-nofeature-ha'
157 - fuel-weekly-parameter:
158 gs-pathname: '{gs-pathname}'
162 description: 'Deployment timeout in minutes'
169 name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
172 - description-setter:
173 description: "Built on $NODE_NAME"
175 !include-raw-escape: ./fuel-download-artifact.sh
177 !include-raw-escape: ./fuel-deploy.sh
181 recipients: peter.barabas@ericsson.com fzhadaev@mirantis.com
182 - email-jenkins-admins-on-failure
184 ########################
186 ########################
188 name: fuel-weekly-parameter
191 name: BUILD_DIRECTORY
192 default: $WORKSPACE/build_output
193 description: "Directory where the build artifact will be located upon the completion of the build."
195 name: CACHE_DIRECTORY
196 default: $HOME/opnfv/cache/$INSTALLER_TYPE
197 description: "Directory where the cache to be used during the build is located."
200 default: artifacts.opnfv.org/$PROJECT{gs-pathname}
201 description: "URL to Google Storage."
202 ########################
204 ########################
205 #-----------------------------------------------
206 # Triggers for job running on fuel-baremetal against master branch
207 #-----------------------------------------------
210 name: 'fuel-os-nosdn-nofeature-ha-baremetal-weekly-master-trigger'