From a0b158ebf83c232bbd5bfd12e35f41ee69e46c27 Mon Sep 17 00:00:00 2001 From: Fatih Degirmenci Date: Wed, 13 Jul 2016 15:06:16 +0200 Subject: sandbox: Enable concurrency and fine tune blockers and node assignment Change-Id: I9d238f76695ed454bc81ad1805cdbc9149a39460 Signed-off-by: Fatih Degirmenci --- jjb/sandbox/sandbox-verify-jobs-multijob.yml | 53 +++++++++++++++++++--------- 1 file 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}' -- cgit 1.2.3-korg