jenkins-job-builder/tests/yamlparser/fixtures/critical_block_complete001.yaml
Darragh Bailey 9504ef661e Standardize builders docstrings and remove '\'
Standardize the docstrings as much as possible in the builders module to
provide good working examples to be followed. Remove unnecessary use of
'\' to reduce copy 'n' paste and convert last remaining inline example
to unit test and include inline into docstring.

Change-Id: I02fe217f3a122aaac4d770e638011144236285cb
2015-12-07 13:00:14 +00:00

19 lines
385 B
YAML

- wrapper:
name: critical-block-exclusion
wrappers:
- exclusion:
resources:
- myresource1
- job:
name: critical-block-example
project-type: freestyle
wrappers:
- critical-block-exclusion
builders:
- critical-block-start
- shell:
#!/bin/bash -ex
rollback-my-data-base
- critical-block-end