Skip to content

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

@c9s

Description

@c9s

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions