The issue seems to have been jenkins filling in the empty default shell in the global configuration when moving to Jenkins 2.X. Removing it made it all work.
On Tuesday, June 21, 2016 at 9:47:47 AM UTC-4, Craig Rodrigues wrote: > > To debug the problem, would you be comforable modifying and rebuilding the > Durable Task plugin? > You could temporarily comment out the code that removes the script.sh and > see what is going on. > > I had to do that before to debug problems with the durable task plugin. > > -- > Craig > > > On Mon, Jun 20, 2016 at 12:25 PM, Mike Chmielewski <mike.chm...@gmail.com > <javascript:>> wrote: > >> >> Craig, I've tried, but I can't seem to catch it, the job dies in less >> than half a second. >> >> [t1] Running shell script >>> sh: <PATH_TO_AGENT_WORKSPACE_ROOT>/t1@tmp/durable-ae020333/script.sh: bash: >>> bad interpreter: No such file or directory >>> >>> >>> Looking in the directory listed the t1@tmp/ directory is empty. This >>> error happens with the Groovy Sandbox setting set to true or false. >>> >>> Running a freestyle job with a shell script works without issue. Has >>> anyone seen this and possibly even resolved this? >>> >>> Thanks! >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Jenkins Users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to jenkinsci-use...@googlegroups.com. >>> To view this discussion on the web visit >>> <https://groups.google.com/d/msgid/jenkinsci-users/fa080423-5ce6-4b10-8749-1126fccd8c4a%40googlegroups.com?utm_medium=email&utm_source=footer> >>> https://groups.google.com/d/msgid/jenkinsci-users/fa080423-5ce6-4b10-8749-1126fccd8c4a%40googlegroups.com >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >>> -- >>> >>> * Eric Pyle * >>> Release Engineer >>> Lebanon >>> +1 603-277-3060 (T) >>> +1 603-359-8670 (M) >>> eric...@cd-adapco.com >>> <http://www.cd-adapco.com>http://www.cd-adapco.com >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Jenkins Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to jenkinsci-use...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/8cd91bdd-7c91-421e-aa1e-806ae6a230d1%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/8cd91bdd-7c91-421e-aa1e-806ae6a230d1%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/bfff33c2-6988-4dff-a459-91760d028d6c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.