Are you using the same user in terminal as jenkins is using to execute the
scripts?

On 13 October 2014 13:11, <[email protected]> wrote:

> I want to do git pull from jenkins script console (or jenkins cli) using
> groovy script, but I'm getting error as follows:
>
> Mon Oct 13 13:40:45 IST 2014 || git pull || 2 IN: ERR: /usr/lib/git-core/
> git-pull: 11: .: git-sh-setup: not found
>
> The git-sh-setup file is present and also I have set the path in jenkins
> but still not works on jenkins while this thing works from terminal. I have
> tested this on ubuntu 12.04 & 14.04.
>
> --
> 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].
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to