Usually if sometimes doesn't work (for example the scm checkout) people are told to execute the checkout manually to see whether it is a problem with jenkins or something else (permission issue in the most cases).
On Sun, Jul 1, 2012 at 8:45 PM, Sami Tikka <sjti...@gmail.com> wrote: > AFAIK there is no need for anyone to actually run an interactive shell as > the Jenkins user, so I set the login shell to /usr/bin/false. If you need > to run an interactive shell as Jenkins (why?), just change the Jenkins user > login shell. > > I don't think I ever tested what happens if you do not choose daemon or > jenkins.... I think you will end up with jenkins.war in /Applications, but > it has not been configured to run automatically. Who knows, it might be > useful for someone. But then they could have just downloaded the plain > jenkins.war... > > -- Sami > > Chris Withers <ch...@simplistix.co.uk> kirjoitti 1.7.2012 kello 18.36: > > > Hi Sami, > > > > Digging this up once again: > > > > On 03/02/2012 07:45, Chris Withers wrote: > >> Digging up an old thread, I seem to remember you emailed me about some > >> changes made to make Jenkins installations on Mac OS more sane. > >> > >> I believe I advocated having the Jenkins install set up a 'jenkins' user > >> in the same way that the Postgres install sets up a 'postgres' user. > >> > >> Now, you emailed me a while after that about some changes you'd made, > >> and I then managed to lose that email. > > > > I just upgraded my main Jenkins instance to 1.472 by using the Mac OS X > installer. I found the checkbox to install as a 'jenkins' user and checked > it. (I also unchecked the 'install as daemon' checkbox, what happens if you > leave them both checked?) > > > > So, it does now look like my Jenkins home is owned by a user called > Jenkins: > > > > MiniMe:Jenkins root# ls -lah /Users/Shared/Jenkins/ > > total 0 > > drwxr-xr-x 5 jenkins jenkins 170B Jun 30 14:49 . > > drwxrwxrwt 6 root wheel 204B Dec 27 2011 .. > > drwxr-xr-x 3 jenkins jenkins 102B Jun 30 14:49 .pip > > drwxr-xr-x 80 jenkins jenkins 2.7K Jun 30 14:39 Home > > drwx------ 3 jenkins jenkins 102B Jun 30 13:28 Library > > > > However, I still can't sudo to this user: > > > > MiniMe:Jenkins root# sudo -u jenkins -i > > MiniMe:Jenkins root# whoami > > root > > > > Contrast this with sudoing to postgres on another Mac OS X machine: > > > > buzzkill:~ chris$ sudo -u postgres -i > > Password: > > buzzkill:~ postgres$ whoami > > postgres > > > > Have I done something wrong or is there still a way to go with the new > jenkins user support on Mac OS X? > > > > cheers, > > > > Chris > > > > -- > > Simplistix - Content Management, Batch Processing & Python Consulting > > - http://www.simplistix.co.uk > > > > > -- Ferenc Kovács @Tyr43l - http://tyrael.hu