Hi,
It was a "SHELL"-Engine issue indeed.
I changed the call to this:
>
> "...
> myresult=sh(script: 'bash deploy.sh', returnStdout: true)
> ..."
>
> and everything works fine, now.
Thanks for the hint.
br
Carsten
--
You received this message because you are subscribed to the Google Groups
That seems to hint that the shell invoked on that agent by the Pipeline
script is not compatible with the shell syntax you're using.
For example, is the shell on that agent inadvertently configured to be
'dash' instead of 'bash'? Is it configured to be 'csh' instead of 'bash'?
https://askubuntu.
Hi list,
in a jenkinsfile I trigger a bash script like so:
"...
myresult=sh(script: 'deploy.sh', returnStdout: true)
..."
the script starts but returns errors like these:
"command not found: pushd"
"command not found: source"
And for some reasons it is not able to do such things:
"...