diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-11-28 16:33:29 +0100 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-11-28 16:48:00 +0100 |
commit | 8428109135870ffb3b29cc3f1748458ca576396e (patch) | |
tree | d1b6da2473ec8bd5c197e3c2538a8333ca567a64 | |
parent | ea41680215f382b1ad70e4dc564529d728665378 (diff) |
[fuel] docker: Improve build blocking
We previously blocked the parent job from running on the same node,
but we need to also block the sub-jobs to prevent races.
Fixes: 2e8907a0
Change-Id: I8243407f4f3db3c07a8dba66ba02575bede70fbc
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
-rw-r--r-- | jjb/fuel/fuel-docker-jobs.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/jjb/fuel/fuel-docker-jobs.yaml b/jjb/fuel/fuel-docker-jobs.yaml index 473542d85..ae80c440e 100644 --- a/jjb/fuel/fuel-docker-jobs.yaml +++ b/jjb/fuel/fuel-docker-jobs.yaml @@ -114,6 +114,12 @@ branch: '{branch}' slave_label: '{slave_label}' arch_tag: '{arch_tag}' + properties: + - build-blocker: + use-build-blocker: true + blocking-jobs: + - 'fuel-docker-build-.*' + blocking-level: 'NODE' scm: - git-scm builders: |