jenkins-job-builder/tests/triggers/fixtures/script001.yaml
Jaime Flynn 778069e1ad fix default handling of script-file-path
Fixes the default handling of script-file-path property in
script trigger to more closely match the default behavior
when saving a job configuration in the Jenkins UI.

The previous behavior of setting script-file-path to an empty
string resulted in exceptions in the Jenkins log.

org.jenkinsci.plugins.scripttrigger.ScriptTriggerException:
The script file path '' doesn't exist.

Change-Id: I3d07892685c96824041efb102b2a474c22a2b9a7
2015-09-25 16:25:21 -05:00

9 lines
153 B
YAML

triggers:
- script:
script: 'exit 0'
cron: 'H/15 * * * *'
enable-concurrent: False
label: master
exit-code: 0