Prior to this commit, the JJB YAML syntax was just broken, and
jenkins-job-builder would not parse this file.
Fix the YAML syntax, make the script run properly as a "shell" step,
make it execute regardless of the build status (with the
"script-only-if-*" settings).
builders:
- shell: "bash jenkins-job-builder/build/build"
- - postbuildscript:
- generic-script:
- - 'rm $HOME/.jenkins_jobs.ini'
+ publishers:
+ - postbuildscript:
+ builders:
+ - shell: 'rm $HOME/.jenkins_jobs.ini'
+ script-only-if-succeeded: false
+ script-only-if-failed: false