This package registers entry points that extend Jenkins Job Builder to support the Jenkins Fail The Build Plugin.
pip install jenkins-jobs-fail-the-build
Complete:
- job: name: 'MyJob' builders: - set-build-result: "ABORTED|CYCLE|FAILED|SUCCESS|UNSTABLE"