jenkins-job-builder/tests/yamlparser/job_fixtures/include-raw-escape001-echo-...

13 lines
284 B
Bash

#!/bin/bash
#
# test script containing some variables to show how you can include scripts
# into job template definitions provided you use the include-raw-escaped tag
MSG="hello world"
[[ -n "${MSG}" ]] && {
# this next section is executed as one
echo "${MSG}"
exit 0
}