Can you confirm whether the PATH and environment is correctly configured 
when running the pipeline in the agent? If you run at the very beginning 
something like the below snippet:

...
sh 'echo $PATH'
...

If /usr/bin is not part of the path, then you need to figure out how to 
configure it in the agent itself or explicitly override it with some 
withEnv step for instance.

Cheers

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/43636bbc-a6b3-491c-9e33-b540f10d8180%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to