Hi,

I'm sure this is an old issue however I cant seem to find the resolution.

I have a script executor with a job that is running a python module defined 
for shellcheck linter.

The pipeline fails with return error:
'message': "Tips depend on target shell and yours is unknown. Add a shebang 
or a 'shell' directive.", 'fix': None}

It's looking for a shell in the script executor which I thought would be 
self contained.
While attempted to add #!/bin/sh, it wont allow me to save and generates 
the error:

"There was an unknown error performing the operation. Possible reason ()"

If I try with just the customer command option I get this error when adding 
#!/bin/sh:

There was an unknown error performing the operation. Possible reason ()
Error when processing params for '#!/bin/sh' used in field 'argListString', 
# must be followed by a parameter pattern or escaped by another #.

I also found this very old close issue which is a similar issue I'm having.
https://github.com/gocd/gocd/issues/817

Any help would be great.
[image: Screen Shot 2022-05-09 at 11.43.24 PM.png]
[image: Screen Shot 2022-05-09 at 11.42.57 PM.png]

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/go-cd/930eef05-427e-413c-9ccd-ee8494b47d86n%40googlegroups.com.

Reply via email to