So this happened to me a couple release ago as well. I upgrade jenkins, things still work, then I upgrade a ton of plugins and I cant run SH. I get a warning that says my PATH=$PATH:/opt/foo/bar looks "bogus" and SH cant be found.
[JENKINS-44331] Cant run SH after latest plugin upgrades
Resolution | New: Incomplete [ 4 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Your description really doesn't help understanding what's going on. Consider following the advice on https://wiki.jenkins-ci.org/display/JENKINS/How+to+report+an+issue
Is this JENKINS-41339? It has a straightforward solution in the comments I think.