Merge "[fuel] docker build: Add blocking jobs"
authorAric Gardner <agardner@linuxfoundation.org>
Wed, 21 Nov 2018 20:30:40 +0000 (20:30 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Wed, 21 Nov 2018 20:30:40 +0000 (20:30 +0000)
1  2 
jjb/fuel/fuel-docker-jobs.yaml

@@@ -29,7 -29,6 +29,7 @@@
        node-parameters: false
        predefined-parameters: |
          PUSH_IMAGE=$PUSH_IMAGE
 +        CACHE_INVALIDATE=$CACHE_INVALIDATE
          COMMIT_ID=$COMMIT_ID
          GERRIT_REFNAME=$GERRIT_REFNAME
        kill-phase-on: FAILURE
        - throttle:
            max-per-node: 1
            option: 'project'
+       - build-blocker:
+           use-build-blocker: true
+           blocking-jobs:
+             - 'fuel-docker-.*'
+           blocking-level: 'NODE'
  
      scm:
        - git-scm
            name: PUSH_IMAGE
            default: "true"
            description: "To enable/disable pushing the image to Dockerhub."
 +      - string:
 +          name: CACHE_INVALIDATE
 +          default: "0"
 +          description: "Set to any non-zero value to force a Docker cache cleanup"
        - string:
            name: COMMIT_ID
            default: ""