summaryrefslogtreecommitdiffstats
path: root/jjb/fuel/fuel-project-jobs.yml
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2015-12-22 15:20:54 +0100
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-01-04 09:41:22 +0000
commitfeeba21edbe98c0bdea7a7ad47c3196aaa9a1870 (patch)
treefd94bf196c90ef04718a0a9300413cf86b0e3832 /jjb/fuel/fuel-project-jobs.yml
parentd026fac0cb3ab898ca5bacff3c588c11e1d876e1 (diff)
Take the fuel daily build job out of the main jobs
Build should really not need to be driven by main jobs and work independently, continuously producing ISOs for whoever out there to consume. This needs review from Fuel Project in order to make sure the build process does not care whatever scenario we run and just builds all the plugins by default and put them into ISO. The trigger is set to poll fuel git repo every 6 hours and upload ISOs to artifacts.opnfv.org upon successful completion of the build. Change-Id: Id59e37407e219803925c146c811450fb6099031b Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb/fuel/fuel-project-jobs.yml')
-rw-r--r--jjb/fuel/fuel-project-jobs.yml46
1 files changed, 46 insertions, 0 deletions
diff --git a/jjb/fuel/fuel-project-jobs.yml b/jjb/fuel/fuel-project-jobs.yml
index a55c785c4..50df1bdd2 100644
--- a/jjb/fuel/fuel-project-jobs.yml
+++ b/jjb/fuel/fuel-project-jobs.yml
@@ -18,6 +18,7 @@
# gs-pathname: '/{stream}'
jobs:
+ - 'fuel-build-daily-{stream}'
- 'fuel-verify-build-{stream}'
- 'fuel-merge-build-{stream}'
- 'fuel-merge-deploy-virtual-{stream}'
@@ -26,6 +27,51 @@
# job templates
########################
- job-template:
+ name: 'fuel-build-daily-{stream}'
+
+ concurrent: false
+
+ properties:
+ - throttle:
+ enabled: true
+ max-total: 1
+ max-per-node: 1
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - 'ericsson-ca-build-1-defaults'
+ - '{installer}-defaults'
+ - fuel-project-parameter:
+ gs-pathname: '{gs-pathname}'
+
+ scm:
+ - git-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: ''
+ branch: '{branch}'
+
+ triggers:
+ - pollscm: '0 H/6 * * *'
+
+ wrappers:
+ - timeout:
+ timeout: 360
+ fail: true
+
+ builders:
+ - shell:
+ !include-raw ./fuel-build.sh
+ - shell:
+ !include-raw ./fuel-upload-artifact.sh
+ - shell:
+ !include-raw ./fuel-workspace-cleanup.sh
+
+ publishers:
+ - email:
+ recipients: jonas.bjurel@ericsson.com stefan.k.berg@ericsson.com
+
+- job-template:
name: 'fuel-verify-build-{stream}'
concurrent: true