OMG: Jenkins gets restarted from my Ant script

2012-03-06 Thread jabal
hi! I'm quite new to Jenkins CI but happy to have assembled a freestyle project that builds and test my program starting from git checkout. As the final point I wanted to integrate my Selenium tests into this process and added a final Ant build step that calls this target. I was struggling with th

Re: Upgrading Jenkins to 1.454 from the command line on Mac OS X caused file permission changes.

2012-03-06 Thread Jerome Lacoste
On Tuesday, March 6, 2012 12:22:09 PM UTC+1, Jerome Lacoste wrote: > > Today I upgraded jenkins on the command line using: > > sudo installer -pkg jenkins-1.454.pkg -target / > > This changed the permissions of the Jenkins home directory. I had to fix > them using: > > chown -R jenkins:dae

Jenkins GitHub OAuth

2012-03-06 Thread Douglas Ferguson
Howdy, Sorry about the previous empty message. Not sure what's up with that. Anyway, I've just installed the GitHub OAuth plugin and it seems to work pretty well except the "Participant in Organization" feature doesn't appear to work. Is there a work around? When it says participant, this is j

Re: Upgrading Jenkins to 1.454 from the command line on Mac OS X caused file permission changes.

2012-03-06 Thread Ingo Richter
Jerome, How did the permissions look like after the installer ran? Thanks, Ingo -- San Francisco Blog "today is tomorrows past blog" LinkedIn Profile: twitter:

Re: Maintain Jobs in SCM

2012-03-06 Thread Didier Durand
hi, i would use the label in config to hold branch name asnd then do a checkout including the label in the scm url via my own checkout in 1st build step if the if the variable can't be set directly in jenkins. regards didier On Mar 7, 6:38 am, Les Mikesell wrote: > On Tue, Mar 6, 2012 at 11:18

Re: Maintain Jobs in SCM

2012-03-06 Thread Les Mikesell
On Tue, Mar 6, 2012 at 11:18 PM, Didier Durand wrote: > > You can insert env variables in your paths on Jenkins SCM section in > job configuration > > So, what you can do to avoid recreating jobs for branches is to put a > variable for the path of the branch and set the value of the variable > jus

Re: Jenkins dying regularly -- how to diagnose

2012-03-06 Thread Didier Durand
Hi, I would also suggest to use the Monitoring plugin to easily diagnose memory issues in your jvm At https://wiki.jenkins-ci.org/display/JENKINS/Monitoring regards didier On Mar 7, 12:27 am, Sami Tikka wrote: > Also, check the system log for exceptions. You have probably run out of > memory

Re: Maintain Jobs in SCM

2012-03-06 Thread Didier Durand
Hi, You can insert env variables in your paths on Jenkins SCM section in job configuration So, what you can do to avoid recreating jobs for branches is to put a variable for the path of the branch and set the value of the variable just before lanching build step ot the job. [I use this technique

Maintain Jobs in SCM

2012-03-06 Thread Conormull
Hi all As we achieve more advanced build pipeline features with out Jenkins jobs, we would now like to maintain those jobs in our SCM. Each time we cut a new branch to continue developer we now find ourselves recreating our Jenkins jobs to point to the new branch. I was just wondering if anyone is

Re: Upgrading Jenkins to 1.454 from the command line on Mac OS X caused file permission changes.

2012-03-06 Thread Sami Tikka
I do not know the answer right now. I think I need to learn more about packagemaker to find out how to make the installer automatically choose the right installation options. Could you create a Jira ticket for this at the Jenkins issue tracker? Thanks. I will try and check that during the week

Re: Jenkins dying regularly -- how to diagnose

2012-03-06 Thread Sami Tikka
Also, check the system log for exceptions. You have probably run out of memory either in heap or in permgen pool. The system log can be viewed easiest by running Console.app in /Applications/Utilities. -- Sami John Hinnegan kirjoitti 6.3.2012 kello 22.17: > We recently set up a Jenkins server

Re: Jenkins dying regularly -- how to diagnose

2012-03-06 Thread John Hinnegan
Thanks, I'll wait for the next hang and get some more details On Tue, Mar 6, 2012 at 12:21 PM, Jesse Farinacci wrote: > Greetings, > > On Tue, Mar 6, 2012 at 3:17 PM, John Hinnegan > wrote: > > I don't know what the issue is, how can I diagnose? > > https://wiki.jenkins-ci.org/display/JENKIN

Re: Jenkins dying regularly -- how to diagnose

2012-03-06 Thread Jesse Farinacci
Greetings, On Tue, Mar 6, 2012 at 3:17 PM, John Hinnegan wrote: > I don't know what the issue is, how can I diagnose? https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+is+hanging -Jesse -- There are 10 types of people in this world, those that can read binary and those that can not.

Jenkins dying regularly -- how to diagnose

2012-03-06 Thread John Hinnegan
We recently set up a Jenkins server on OS X. We had been using Jenkins prior to this in the cloud, but decided it was worth it to just buy a little machine to do our builds for us. Now our Jenkins is going unresponsive -- pretty consistently after 12-18 hours with only a couple of days of obse

Re: Pipelines in Jenkins...

2012-03-06 Thread Jeff
I'm sure I'm missing something conceptually, but with a modular architecture, build artifacts may still be needed in the development environments, particularly if one team is producing a module consumed by another team and they want access to the SNAPSHOT build artifacts during development. Doesn'

Re: Pipelines in Jenkins...

2012-03-06 Thread Jeff
Getting back to this...(BTW thanks for the responses) How do you generate/control the unique ID? Is the SVN repository revision a good ID to use? Seems that it would be good to correlate the builds based on a known reference point. That may not work though with multiple projects that are based

Help with build-pipeline and job options

2012-03-06 Thread Jeff
Do all of these options affect the pipeline plugin? 1. Build whenever a SNAPSHOT dependency is built 2. Build after other projects are built 3. Build other projects 4. Trigger parameterized build on other projects 5. Build Pipeline Plugin -> Manually Execute Downstream Project Othe

Re: Parameterized build not working - plz help

2012-03-06 Thread Andrew Melo
On Tue, Mar 6, 2012 at 12:57 PM, Jatin D Patel wrote: > Andrew, > > I wanted to execute list of linux commands, while pointing to linux serv. > > So you mean to say that, if i run commands on a slave, i will be able to > use parametrized variables ? > Do you know any link that will help? > Yeah

Re: Parameterized build not working - plz help

2012-03-06 Thread Jatin D Patel
Andrew, I wanted to execute list of linux commands, while pointing to linux serv. So you mean to say that, if i run commands on a slave, i will be able to use parametrized variables ? Do you know any link that will help? Thanks, Jatin. On Tue, Mar 6, 2012 at 10:38 AM, Andrew Melo wrote: > >

Re: Parameterized build not working - plz help

2012-03-06 Thread Andrew Melo
On Tue, Mar 6, 2012 at 12:27 PM, Jatin D Patel wrote: > Hi all, > > Hope this attached document with screenshot will be more clear. > I am not able to send parametrized values to build. > > Andrew, > Are you able to echo out parameterized value in build? > If yes, Can you please reply back your o

Re: Parameterized build not working - plz help

2012-03-06 Thread Andrew Melo
On Tue, Mar 6, 2012 at 12:02 PM, Jatin D Patel wrote: > I am trying new string name > > String parameter > Name : myVaraiable > Default Value: 10 > > echo $myVaraiable > echo "$myVaraiable" > RETURNS Blank line. > This is in a "execute shell" build step? Like this? http://cl.ly/2b382H2731262r2J

Re: Parameterized build not working - plz help

2012-03-06 Thread Jatin D Patel
I am trying new string name String parameter Name : myVaraiable Default Value: 10 echo $myVaraiable echo "$myVaraiable" RETURNS Blank line. On Tue, Mar 6, 2012 at 9:51 AM, Andrew Melo wrote: > > > On Tue, Mar 6, 2012 at 11:49 AM, Jatin D Patel wrote: > >> Andrew, >> >> Thanks for quick reply

Re: Parameterized build not working - plz help

2012-03-06 Thread Andrew Melo
On Tue, Mar 6, 2012 at 11:49 AM, Jatin D Patel wrote: > Andrew, > > Thanks for quick reply. I have attached the following steps. > I a newbie to jenkins. I might have misunderstood the documentation. > > Please correct me if i am wrong? > >

Re: Parameterized build not working - plz help

2012-03-06 Thread Jatin D Patel
Andrew, Thanks for quick reply. I have attached the following steps. I a newbie to jenkins. I might have misunderstood the documentation. Please correct me if i am wrong? -- Step 5 Save the oncfirations Step 6 G

Re: Parameterized build not working - plz help

2012-03-06 Thread Andrew Melo
On Tue, Mar 6, 2012 at 11:31 AM, Jatin D Patel wrote: > This is the steps which i have followed. > > > > > step 1: > Build a free-style software project > > step 2: > IN configurat

Re: Parameterized build not working - plz help

2012-03-06 Thread Jatin D Patel
This is the steps which i have followed. step 1: Build a free-style software project step 2: IN configuration page, I have selected the option "This build is parametreized" Step

Upgrading Jenkins to 1.454 from the command line on Mac OS X caused file permission changes.

2012-03-06 Thread Jerome Lacoste
Today I upgraded jenkins on the command line using: sudo installer -pkg jenkins-1.454.pkg -target / This changed the permissions of the Jenkins home directory. I had to fix them using: chown -R jenkins:daemon /Users/Shared/Jenkins/ Is that a bug ? If not, what is the proper procedure t

Re: groovy plugin?

2012-03-06 Thread Vojtech Juranek
> On Mon, Mar 5, 2012 at 10:19 AM, Vojtech Juranek wrote: > >> I was just missing something obvious. Along with checking the > >> 'Install automatically' box in the global config (which might have > >> been set by default) you have to give it a name and then you have to > >> pick that name in th