1 changed file
jenkins | ||
jenkins_foreach_job.sh | ||
Add comment 60 echo "# ============================================================================ #" >&2
Add comment 61 cmd=("$@")
Add comment 62 cmd=("${cmd[@]//\{job\}/$job}")
Add comment 63 Minus "${cmd[@]}"
Add comment 63 Plus # need eval'ing to able to inline quoted script
Add comment 64 Plus # shellcheck disable=SC2294
Add comment 65 Plus eval "${cmd[@]}"
Add comment 64 66 echo >&2
Add comment 65 67 done
Add comment 66 68