Re: Re: Re: Shell script working in command prompt not in jenkins

2012-06-27 Thread Vojtech Juranek
On Tuesday 26 June 2012 19:56:10 Varghese Renny wrote: > My system user is sigma.but i am running jenkins on tomcat6 user and > tomcat6 group. So which user i have to specify in sudeors file. > Thanks then you have to grand sudo for tomcat6 user, as the build process runs under this user (if you

Re: Re: Shell script working in command prompt not in jenkins

2012-06-26 Thread Varghese Renny
My system user is sigma.but i am running jenkins on tomcat6 user and tomcat6 group. So which user i have to specify in sudeors file. Thanks > >

Re: Re: Shell script working in command prompt not in jenkins

2012-06-26 Thread Vojtech Juranek
On Tuesday 26 June 2012 06:28:29 Varghese Renny wrote: > Hi, > > sudo: sorry, you must have a tty to run sudo > > What to do for this erro? comment Defaultsrequiretty :-) if you are getting sudo: no tty present and no askpass program specified make sure, that it run under sigma user. If you