Jenkins Docker Image and extended Linux executables

2019-09-19 Thread 'Carsten' via Jenkins Users
Hi, we are running Jenkins in a docker environment. Jenkins Version 2.192 running in a docker container version 19.03.2, build 6a30dfc Running on an Ubuntu Xenial 16.04 We are deploying by Linux shell scripts using multiple extended Linux commands like "netcat" or "nslookup". Unfortunately the J

Re: running shell commands in pipeline fails on pushd and source

2018-12-10 Thread 'Carsten' via Jenkins Users
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

running shell commands in pipeline fails on pushd and source

2018-12-07 Thread 'Carsten' via Jenkins Users
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: "...