summaryrefslogtreecommitdiffstats
path: root/jjb/fuel/fuel-project-jobs.yml
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/fuel/fuel-project-jobs.yml')
-rw-r--r--jjb/fuel/fuel-project-jobs.yml67
1 files changed, 53 insertions, 14 deletions
diff --git a/jjb/fuel/fuel-project-jobs.yml b/jjb/fuel/fuel-project-jobs.yml
index a04e4e65d..95bc3a6b4 100644
--- a/jjb/fuel/fuel-project-jobs.yml
+++ b/jjb/fuel/fuel-project-jobs.yml
@@ -21,6 +21,7 @@
- 'fuel-verify-build-{stream}'
- 'fuel-merge-build-{stream}'
- 'fuel-merge-deploy-virtual-{stream}'
+ - 'fuel-deploy-generic-daily-{stream}'
########################
# job templates
@@ -51,7 +52,8 @@
branch: '{branch}'
triggers:
- - pollscm: '0 H/4 * * *'
+ - pollscm:
+ cron: '0 H/4 * * *'
wrappers:
- timeout:
@@ -212,19 +214,19 @@
- ssh-agent-credentials:
users: '{ssh-credentials}'
- triggers:
- - gerrit:
- trigger-on:
- - change-merged-event
- - comment-added-contains-event:
- comment-contains-value: 'remerge'
- projects:
- - project-compare-type: 'ANT'
- project-pattern: '{project}'
- branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**/{branch}'
- dependency-jobs: 'fuel-merge-build-{stream}'
+# triggers:
+# - gerrit:
+# trigger-on:
+# - change-merged-event
+# - comment-added-contains-event:
+# comment-contains-value: 'remerge'
+# projects:
+# - project-compare-type: 'ANT'
+# project-pattern: '{project}'
+# branches:
+# - branch-compare-type: 'ANT'
+# branch-pattern: '**/{branch}'
+# dependency-jobs: 'fuel-merge-build-{stream}'
builders:
- shell:
@@ -238,6 +240,43 @@
- email:
recipients: jonas.bjurel@ericsson.com stefan.k.berg@ericsson.com
+- job-template:
+ name: 'fuel-deploy-generic-daily-{stream}'
+
+ concurrent: false
+
+ disabled: true
+
+ properties:
+ - throttle:
+ enabled: true
+ max-total: 1
+ max-per-node: 1
+
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - 'ericsson-pod2-defaults'
+ - '{installer}-defaults'
+ - fuel-project-parameter:
+ gs-pathname: '{gs-pathname}'
+
+ scm:
+ - git-scm:
+ credentials-id: '{ssh-credentials}'
+ refspec: ''
+ branch: '{branch}'
+
+ wrappers:
+ - build-name:
+ name: '$BUILD_NUMBER - Scenario: $DEPLOY_SCENARIO'
+
+ builders:
+ - shell:
+ !include-raw-escape: ./fuel-download-artifact.sh
+ - shell:
+ !include-raw-escape: ./fuel-deploy.sh
+
########################
# parameter macros
########################