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.