jenkins-job-builder/tests/yamlparser/fixtures/lazy-load-scripts/echo_vars_1.2.sh

14 lines
214 B
Bash

#!/bin/bash
#
# version 1.2 of the echo vars script
MSG="hello world"
VERSION="1.2"
[[ -n "${MSG}" ]] && {
# this next section is executed as one
echo "${MSG}"
echo "version: ${VERSION}"
exit 0
}