I've tried with full paths but it gives error that can't execute
/path/to/git from /path/to/repo (ubuntu environment).
How should I set path at the beginning of script? Script is to be made in
groovy to be executed from jenkins script console.
On Tuesday, October 14, 2014 3:27:00 AM UTC+5:30, C
On Mon, Oct 13, 2014 at 5:03 AM, wrote:
> Yes, even with the same user as in terminal & in jenkins (i.e. jenkins
> user created on installation of jenkins) this problem happens
>
> On Monday, October 13, 2014 5:23:33 PM UTC+5:30, Corneil du Plessis wrote:
>>
>> Are you using the same user in term
Yes, even with the same user as in terminal & in jenkins (i.e. jenkins user
created on installation of jenkins) this problem happens
On Monday, October 13, 2014 5:23:33 PM UTC+5:30, Corneil du Plessis wrote:
>
> Are you using the same user in terminal as jenkins is using to execute the
> scripts
Are you using the same user in terminal as jenkins is using to execute the
scripts?
On 13 October 2014 13:11, 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:
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 p