summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-07-13 15:06:16 +0200
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>2016-07-13 15:09:08 +0200
commita0b158ebf83c232bbd5bfd12e35f41ee69e46c27 (patch)
treeac008c1cc41a476282163ad939031d0be6aa219d /jjb
parent7681762285f0caa49a6b54f817ae825dacf307f8 (diff)
sandbox: Enable concurrency and fine tune blockers and node assignment
Change-Id: I9d238f76695ed454bc81ad1805cdbc9149a39460 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/sandbox/sandbox-verify-jobs-multijob.yml53
1 files changed, 36 insertions, 17 deletions
diff --git a/jjb/sandbox/sandbox-verify-jobs-multijob.yml b/jjb/sandbox/sandbox-verify-jobs-multijob.yml
index 7f7babb6d..6aa5d50f5 100644
--- a/jjb/sandbox/sandbox-verify-jobs-multijob.yml
+++ b/jjb/sandbox/sandbox-verify-jobs-multijob.yml
@@ -46,12 +46,18 @@
concurrent: true
- parameters:
- - project-parameter:
- project: '{project}'
- - gerrit-parameter:
- branch: '{branch}'
- - 'opnfv-build-ubuntu-defaults'
+ properties:
+ - throttle:
+ enabled: true
+ max-total: 2
+ max-per-node: 1
+ option: 'project'
+ - build-blocker:
+ use-build-blocker: true
+ blocking-jobs:
+ - 'sandbox-verify-master-multijob'
+ - 'sandbox-verify-colorado-multijob'
+ block-level: 'NODE'
scm:
- gerrit-trigger-scm:
@@ -90,6 +96,13 @@
pattern: 'docs/**|.gitignore'
readable-message: true
+ parameters:
+ - project-parameter:
+ project: '{project}'
+ - gerrit-parameter:
+ branch: '{branch}'
+ - 'sandbox-virtual-defaults'
+
builders:
- description-setter:
description: "Built on $NODE_NAME"
@@ -130,6 +143,7 @@
GERRIT_REFSPEC=$GERRIT_REFSPEC
GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
+ node-parameters: true
kill-phase-on: FAILURE
abort-all-job: true
- multijob:
@@ -143,6 +157,7 @@
GERRIT_REFSPEC=$GERRIT_REFSPEC
GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
GERRIT_CHANGE_COMMIT_MESSAGE=$GERRIT_CHANGE_COMMIT_MESSAGE
+ node-parameters: true
kill-phase-on: FAILURE
abort-all-job: true
@@ -151,6 +166,21 @@
disabled: '{obj:disabled}'
+ concurrent: true
+
+ properties:
+ - throttle:
+ enabled: true
+ max-total: 2
+ max-per-node: 1
+ option: 'project'
+ - build-blocker:
+ use-build-blocker: true
+ blocking-jobs:
+ - 'sandbox-verify-deploy-.*'
+ - 'sandbox-verify-test-.*'
+ block-level: 'NODE'
+
scm:
- gerrit-trigger-scm:
credentials-id: '{ssh-credentials}'
@@ -164,17 +194,6 @@
- timeout:
timeout: 360
fail: true
-
- concurrent: true
-
- properties:
- - build-blocker:
- use-build-blocker: true
- blocking-jobs:
- - 'sandbox-verify-deploy-.*'
- - 'sandbox-verify-test-.*'
- block-level: 'NODE'
-
parameters:
- project-parameter:
project: '{project}'