Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Below is an example of a build that is blocked or gated:


Job setup using JJB

From jenkins-job-builder 2.10.2 you can setup your jobs using JJB. Here is an example snippet:

Code Block
languageyml
properties:
      - cachet-gating:
          required-resources: true
          resources:
              - beaker
              - brew


Job setup using Job DSL

You can also use the job dsl plugin to configure gating for your jobs. Here is an example snippet:

...