"Restrict where this project can be run" job configuration option has disappeared

2018-03-29 Thread danielp
Our team recently noticed that the job configuration option "Restrict where this project can be run" has disappeared. We're running the latest jenkins/jenkins:lts image (v2.107.1), in Docker. The option seems to be globally missing; I can no longer see it in any of the jobs I've looked through.

Re: getting started with pipelines - attempting to use sh returns 'script.sh: not found'

2017-06-27 Thread danielp
Poked around in the mailing list and found the solution: The 'Manage Jenkins' > 'Configure system' > 'Shell Executable' setting had been incorrectly set to just 'bash' instead of an absolute path. I just left the field blank and let Jenkins determine the shell. Works now! On Tuesday, June 27, 2

getting started with pipelines - attempting to use sh returns 'script.sh: not found'

2017-06-27 Thread danielp
Hi Folks, Just getting started with Jenkins Pipelines, following the tutorial found here: https://www.cloudbees.com/blog/using-pipeline-plugin-accelerate-continuous-delivery-part-1 When I attempt to run any commands via 'sh', I get an error saying 'not found'. For example, in my pipeline scrip