Skip to content
New issue

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

Unable to set the shell for the generated script file #42

Open
c9s opened this issue Nov 2, 2018 · 0 comments
Open

Unable to set the shell for the generated script file #42

c9s opened this issue Nov 2, 2018 · 0 comments

Comments

@c9s
Copy link

c9s commented Nov 2, 2018

The System configuration set the shell to bash, however, when using Kubernetes agent to run a docker image without bash, the script will fail because bash does not exist.

And it generates a script file like this:

#!/bin/bash -xe
# ... my script content .... 

I would like to keep the global system configuration to use bash, and specify "sh" for my pipeline, however there is no such option to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant