Re: jenkins group while in job is not the same as in terminal

2014-12-03 Thread Tzook Bar Noy
> > sorry it is not ssh, it is a "build step" with "execute shell" inside it I have what I mentioned: cat /etc/group | grep jenkins groups jenkins groups whoami output: www-data:x:33:tzook,jenkins jenkins:x:115: jenkins : jenkins www-data web jenkins je

Re: jenkins group while in job is not the same as in terminal

2014-12-03 Thread Daniel Beck
On 03.12.2014, at 08:30, Tzook Bar Noy wrote: > in one of my jobs I created an ssh command that simply does Please be more specific what you're doing. How is SSH involved? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from

Re: jenkins group while in job is not the same as in terminal

2014-12-03 Thread Tzook Bar Noy
mmm no I think, it's a simple installation, didn't do anything fancy :/ On Wed, Dec 3, 2014 at 10:59 AM, wrote: > Is the job running on a slave? > Matthew > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Jenkins Users" group. > To unsubscribe from

RE: jenkins group while in job is not the same as in terminal

2014-12-03 Thread Matthew.Webber
Is the job running on a slave? Matthew -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on

Re: jenkins group while in job is not the same as in terminal

2014-12-03 Thread Tzook Bar Noy
> > Did you mean to restart jenkins right? > did it. I noticed some more info that when I run the command command: cat /etc/group | grep jenkins result: www-data:x:33:tzook,jenkins jenkins:x:115: command: groups jenkins result: jenkins : jenkins www-data web command: groups result: je

Re: jenkins group while in job is not the same as in terminal

2014-12-03 Thread Dirk Heinrichs
Am 03.12.2014 um 08:30 schrieb Tzook Bar Noy: > Any ideas why this weird bug happens?? It's not a bug. Running processes don't magically become members of groups you add their owning user to. The user must relogin to become a member of the new group, which in your case means your Jenkins server n

Re: jenkins group while in job is not the same as in terminal

2014-12-03 Thread Richard Bywater
Have you restarted Jenkins since adding the group to the user? Richard. On 3/12/2014 8:30 PM, "Tzook Bar Noy" wrote: > I have installed jenkins on our dev server, and I added the user "jenkins" > to some groups for example www-data. > > now when I run this command on the terminal: > > groups jen