jenkins-job-builder/tests/yamlparser/job_fixtures/include-raw-escape001-echo-vars.sh
Vsevolod Fedorov 6b92807cd7 Tests: Rename yamlparser tests and fixture directories
Rename fixtures directory to job_fixtures to prepare for adding view_fixtures
directory in the following commits.

Change-Id: Ic20997cae020b542ddc22bf444fa6b92fbcae064
2023-01-26 11:06:23 +03:00

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
}