
Use '!include-raw-expand:' instead of '!include-raw:' and '!include-raw-verbatim:' instead of '!include-raw-escape:'. Tags '!include-raw:' and '!include-raw-escape:' are now deprecated. Change-Id: I3cc5ab9f73d03de1ba09cbc4568366a3bb464a08
13 lines
287 B
Bash
13 lines
287 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-verbatim: tag
|
|
|
|
MSG="hello world"
|
|
|
|
[[ -n "${MSG}" ]] && {
|
|
# this next section is executed as one
|
|
echo "${MSG}"
|
|
exit 0
|
|
}
|