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 tzo...@gmail.com 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:

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

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:

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
mmm no I think, it's a simple installation, didn't do anything fancy :/ On Wed, Dec 3, 2014 at 10:59 AM, matthew.web...@diamond.ac.uk 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.

Re: Security permissions wiped after server restart

2014-12-03 Thread Scribe
I have a work around: 1. Restrict usernames to lower case 2. After setting up security and before the server restart, save the 'configure system' page even if no changes have been made - not sure if this is required (I was following a suggestion by someone more in the know than I), but it

RE: What steps should I take to diagnose why output does not appear in Jenkins's Console Output immediately?

2014-12-03 Thread Rob Mandeville
I’m guessing that, if you run your command from the command line, you get your output more quickly than you do when you run it in Jenkins. One possibility is that the program writing the log can tell whether it’s writing to a TTY or not, and changes its behavior accordingly. Often, this means

Tagging or labeling code

2014-12-03 Thread Rob D
We are using Visual Studio Online for source control and Jenkins to do builds, tests, etc. I have things working except nothing is getting tagged. Is there a plugin that integrates with Visual Studio Online or TFS to create tags (labels) and facilitates moving releases through the release

How do I access a plug-in configuration parameter as an environment variable to a build script?

2014-12-03 Thread John Lengeling
The Jenkins SCM plugin that I am using has a configuration parameter that I want to access as an environment variable. I need to access this plugin's configuration parameter as part of my build scripts. How would I go about doing this? TIA. -- You received this message because you are

Job DSL

2014-12-03 Thread Slide
I've started looking into using the Job DSL plugin, as it looks like it will be awesome. I had a couple of questions that I hope someone might be able to answer. I am planning on giving my users the control over their builds by allowing them to create a .build file which will be the definition of

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 tzo...@gmail.com 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

Re: What steps should I take to diagnose why output does not appear in Jenkins's Console Output immediately?

2014-12-03 Thread Daniel Beck
unbuffer, part of expect, may also help if this is the problem. What would be interesting is whether the log file for the build on Jenkins master gets written to immediately, or whether that's also delayed. On 03.12.2014, at 14:33, Rob Mandeville rmandevi...@dekaresearch.com wrote: I’m

Job DSL

2014-12-03 Thread slide
I was actually able to figure out all of this via monkey patching. It works great! -- 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

Re: Best way to re-configure Jobs on-the-fly

2014-12-03 Thread Kenneth Baltrinic
I want to thank everyone for their input. At this time we have decided to pursue the workflow plug-in and its load step as the best way forward. Given that we are dealing with trying to configure complex build flows, the workflow plugins other features should prove useful well beyond the

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 jenkins