We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From @vdice on August 24, 2016 20:36
We have a lot of shell scripts in the form of
#!/usr/bin/env bash set -eo pipefail <main script contents>
It would be handy to define a function that wrapped the <main script contents> in the boilerplate seen above; something like:
<main script contents>
def sh = { String script -> """ #!/usr/bin/env bash set -eo pipefail ${script} """.stripIndent() }
(Might possibly entertain overriding the existing shell dsl function to do the same.)
shell
Copied from original issue: deis/jenkins-jobs#214
The text was updated successfully, but these errors were encountered:
No branches or pull requests
From @vdice on August 24, 2016 20:36
We have a lot of shell scripts in the form of
It would be handy to define a function that wrapped the
<main script contents>
in the boilerplate seen above; something like:(Might possibly entertain overriding the existing
shell
dsl function to do the same.)Copied from original issue: deis/jenkins-jobs#214
The text was updated successfully, but these errors were encountered: