| 1 |
#!/bin/bash |
| 2 |
# |
| 3 |
# test script containing some variables to show how you can include scripts |
| 4 |
# into job template definitions provided you use the !include-raw-verbatim: tag |
| 5 |
|
| 6 |
MSG="hello world" |
| 7 |
|
| 8 |
[[ -n "${MSG}" ]] && { |
| 9 |
# this next section is executed as one |
| 10 |
echo "${MSG}" |
| 11 |
exit 0 |
| 12 |
} |