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
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
The text was updated successfully, but these errors were encountered:
This issue was moved to teamhephy/jenkins-jobs#12
Sorry, something went wrong.
No branches or pull requests
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.)The text was updated successfully, but these errors were encountered: