Re: NPE when adding/changing a TimerTrigger via groovy

2012-08-13 Thread Dirk Kuypers
Morning, ok, I can confirm now that restarting Jenkins helps, the NPE is gone. I think I'll open a JIRA ticket. BR Dirk 2012/8/10 Dirk Kuypers : > Hi, > > I am generating/changing lots of regression test jobs via groovy to > keep our build machines chewing during the night. Yesterday I had to >

email notification when node falls offline?

2012-08-13 Thread Chris Withers
Hi All, The windows node in my cluster keeps on falling offline. How can I get Jenkins to email me when any node falls offline? (as it blocks a whole load of builds, but I don't get any notification of those...) Chris -- Simplistix - Content Management, Batch Processing & Python Consulting

Re: email notification when node falls offline?

2012-08-13 Thread oliver gondža
On Mon, 13 Aug 2012 10:20:37 +0200, Chris Withers wrote: Hi All, The windows node in my cluster keeps on falling offline. How can I get Jenkins to email me when any node falls offline? (as it blocks a whole load of builds, but I don't get any notification of those...) Chris Hi, This p

new plugin version not showing up in "update center"

2012-08-13 Thread Åsmund Østvold
Hi All, My Jenkins instant do not get the latest plugin updates in the "update center". I am able to install plugins. Example on old versions is that I am asked if I want to upgrade the git plugin to 1.1.21. I know from [1] that the news version us 1.1.22 and was released Aug 08, 2012. Other b

BuildFlow + EnvInject: prepare env script not executed

2012-08-13 Thread nluetic
Hello, I want to create a pipeline of jobs, that share a set of environment variables, set depending on a parameter. So I defined a Groovy Snippet in "Prepare environment for the run"/"Evaluated Groovy Script" where the environment variables should be set depending on the parameter value. How

Re: new plugin version not showing up in "update center"

2012-08-13 Thread Stephen Connolly
Check what version of core you are running. If you are running an older version of core than required by the plugin (1.424) then you will not see the update until you update core. The second issue is when did you last let jenkins update the plugin metadata. Jenkins only checks for metadata every 2

Re: Jenkins crashing, GLib error

2012-08-13 Thread David Pärsson
After updating Jenkins to 1.471 we still experienced the same problems, but after updating Ubuntu to 12.04 on our Jenkins master and all of our Jenkins slaves, this issue seems to have been resolved.

Re: Mail Watcher Plugin not showing in "available plugins" (was: email notification when node falls offline?)

2012-08-13 Thread Chris Withers
On 13/08/2012 09:24, oliver gondža wrote: How can I get Jenkins to email me when any node falls offline? (as it blocks a whole load of builds, but I don't get any notification of those...) Hi, This plugin might be doing what you need (watching Node online status). https://wiki.jenkins-ci.org/d

While running UI tests on Jenkins slave, session gets disconnected.

2012-08-13 Thread Manoj Attal
I have set up Jenkins slave and masters on windows machines. I have set up Jenkins slave using JNLP(Java web smart) mode. On jenkins slave I am performing set up of application and then it perform some UI tests. The issue is that Jenkins slave automatically gets disconnected after few minutes.

Changing the connection check URL

2012-08-13 Thread Marc Esher
Greetings, My Jenkins server is sitting behind a firewall that does not permit outbound access to most of the internet. I was able to get an exclusion for jenkins-ci.com for purposes of using Jenkins auto updater and installing plugins. However, the connection check uses google.com to determine

Re: Issue getting RVM working

2012-08-13 Thread Sami Tikka
Is this a Jenkins issue at all? Does it work when you try it as Jenkins user with the same environment? Note, Jenkins might not have the same environment vars as a logged in user, depending on your platform and where the vars are set. -- Sami de Herdt Arne kirjoitti 13.8.2012 kello 9.56: >

Re: Mail Watcher Plugin not showing in "available plugins" (was: email notification when node falls offline?)

2012-08-13 Thread Sami Tikka
The plugin requires a newer Jenkins than you are running? -- Sami Chris Withers kirjoitti 13.8.2012 kello 12.34: > On 13/08/2012 09:24, oliver gondža wrote: >>> How can I get Jenkins to email me when any node falls offline? >>> (as it blocks a whole load of builds, but I don't get any notificat

Re: While running UI tests on Jenkins slave, session gets disconnected.

2012-08-13 Thread Sami Tikka
With the limited details you provide all I can advice is: try not to close the slave agent or kill its network connection. If you want better advice, you need to provide more details. In general, the slave agent does not lose connection in the middle of builds. -- Sami Manoj Attal kirjoitti

Re: new plugin version not showing up in "update center"

2012-08-13 Thread Åsmund Østvold
Thanks quick response. To validate if it is a local or a global (unlikely) issue. Could somebody tell me what version of the git plugin that is available in there Jenkins installation? My Jenkins instances have 1.1.21 but I would expect 1.1.22. Answers inlined. On Mon, Aug 13, 2012 at 11:29 AM

RE: Issue getting RVM working

2012-08-13 Thread de Herdt Arne
When I log in as the Jenkins user, I can get RVM working etc. I see the ruby version etc. So RVM is properly installed for the Jenkins users. What I did notice however, is that when I ran the project from Jenkins, the first thing it did was reinstall Ruby. No idea why because it was already ins

tomcat - jenkins upgrade does not work

2012-08-13 Thread david gang
Hi, In the admin screen I got the message New version of Jenkins (1.477) is available for download. I tried to upgrade the apllication but without success. These are the steps i made: I downloaded the war file from http://updates.jenkins-ci.org/download/war/1.477/jenkins.war and moved it to the

upgrade of jenkins in tomcat does not work

2012-08-13 Thread david gang
Hi, In the admin screen I got the message New version of Jenkins (1.477) is available for download. I tried to upgrade the apllication but without success. These are the steps i made: I downloaded the war file from http://updates.jenkins-ci.org/download/war/1.477/jenkins.war and moved it to the

Re: upgrade of jenkins in tomcat does not work

2012-08-13 Thread Richard Lavoie
Posting the message twice won't help you receive a faster answer. Did you try removing the jenkins folder in the tomcat webapps folder so it redeploys the new war file correctly as if new ? Richard On 2012-08-13, at 07:27, david gang wrote: > Hi, > > In the admin screen I got the message >

Re: upgrade of jenkins in tomcat does not work

2012-08-13 Thread david gang
Hi Richard, I did not intend to post the message twice. The first post was not with enough data and i did not know how to edit the message, so i removed it and posted it again :-) No. I did not remove the folder. Can i remove the jenkins directory while the tomcat is running or do i have to shutd

Re: Mail Watcher Plugin not showing in "available plugins"

2012-08-13 Thread Chris Withers
On 13/08/2012 11:10, Sami Tikka wrote: The plugin requires a newer Jenkins than you are running? Nope, checked that already... Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk

Re: upgrade of jenkins in tomcat does not work

2012-08-13 Thread Richard Lavoie
To make a clean work, you should stop tomcat unless you still have access to the default host-manager or manager that comes with tomcat. From there you can stop a webapp and then you will be able to remove the old folder without having java classes still in memory for that web app. Richard O

Re: upgrade of jenkins in tomcat does not work

2012-08-13 Thread david gang
Hi Richard, I removed the folder and it worked great. Thanks a lot, David On Aug 13, 2:59 pm, Richard Lavoie wrote: > To make a clean work, you should stop tomcat unless you still have access to > the default host-manager or manager that comes with tomcat. From there you > can stop a webapp a

Re: Mail Watcher Plugin not showing in "available plugins"

2012-08-13 Thread Chris Withers
On 13/08/2012 11:04, oliver gondža wrote: Yep, looks ideal, but it doesn't show in my "Available Plugins" section (on either of the Jenkins installs I have access to). Why might that be? As far as I can tell it is listed as "mail-watcher-plugin" in "Miscellaneous" section. Nope, doesn't sh

Adding new wavs for Html Audio Notifier

2012-08-13 Thread Chris Withers
Hi, I want to add a couple more wavs for audio notifications. I put them in the same directory as the existing wavs, reloaded config, but still when I hit the Test button, I get an warning dialog box. What do I need to do? (I'd really prefer not to have to set up an Apache instance or some su

Re: Mail Watcher Plugin not showing in "available plugins"

2012-08-13 Thread oliver gondža
On Mon, 13 Aug 2012 14:57:13 +0200, Chris Withers wrote: On 13/08/2012 11:04, oliver gondža wrote: Yep, looks ideal, but it doesn't show in my "Available Plugins" section (on either of the Jenkins installs I have access to). Why might that be? As far as I can tell it is listed as "mail-

email-ext send different mail on success and failure

2012-08-13 Thread David Gang
Hi all, I want to configure the project in that way that on success the recipients will get a small mail of the type "build succeeded". When the build fails i want to make it more dramatic :-) I want that the message will be sent with high priority and that it will be written that the build fai

Re: email-ext send different mail on success and failure

2012-08-13 Thread Slide
Just set up a success trigger and a failure trigger, each one can have different email content. slide On Mon, Aug 13, 2012 at 8:07 AM, David Gang wrote: > Hi all, > > I want to configure the project in that way that on success the recipients > will get a small mail of the type "build succeeded".

Re: email-ext send different mail on success and failure

2012-08-13 Thread Michael Gang
Hi, Thanks for your quick reply. I see now that under More Configuration a different content can be configured. Thanks, David On Mon, Aug 13, 2012 at 6:08 PM, Slide wrote: > Just set up a success trigger and a failure trigger, each one can have > different email content. > > slide > > On Mon,

Compute changelog error in hudson-2.2.0

2012-08-13 Thread Mohan
Hi, I have installed hudson on windows and running as windows service. Configured hudson with cvs and able to checkout from cvs. After completing checkout there is an issue in compute changelog. os: windows hudson: 2.2.0 cvs executables : 1.12.13 (client/server) cvs plugin installed (default): 2.

Look at branch names when building the dependency graph

2012-08-13 Thread Maxime Lemanissier
Hi all, My jenkins server (v1.473) builds several branches of a same Maven artifact. Maven coordinates are exactly identical between these branches. Build isolation between branches is done by using a specific Maven / Nexus repository for each branch group (trunk / release-fr / release-uk). I

Re: Look at branch names when building the dependency graph

2012-08-13 Thread Maxime Lemanissier
Forgot the link for MavenModule.getDependencyRelevancy()

passing parameters with build flow plugin

2012-08-13 Thread Tomek Kaczanowski
Hi All, could someone post an example on how to read parameters passed from one job to another using Build Flow plugin? Plugin documentation https://wiki.jenkins-ci.org/display/JENKINS/Build+Flow+Plugin gives information on how to put a parameter to the job, but does not show how to use them there

marking a build as un-stable with groovy post-build plugin

2012-08-13 Thread krishna chaitanya kurnala
Hello All Just want to know, if there is a way, to mark a jenkins build as unstable based on Sonar Analysis results. I tried to use sonar build breaker plugin( http://docs.codehaus.org/display/SONAR/Build+Breaker+Plugin) , to analyse sonar results and mark a build as Failure. I then tried to then

Plugin Manager Updates does not display any updates

2012-08-13 Thread SamL
Hello Folks. I am running into the following situation where the Plugin Manager is not showing any plugin updates. This is what I have on Update Site under the Advanced Tab under Plugin Manager Section http://updates.jenkins-ci.org/update-center.json Jenkins Version is 1.460 Running on Ub

Re: upgrade of jenkins in tomcat does not work

2012-08-13 Thread David Gang
Hi, I am curious why do ihave to remove the jenkins folder. Should not tomcat make this auomatically for me when he recognizes that the war is newer? Thanks, David On Monday, August 13, 2012 3:01:00 PM UTC+3, David Gang wrote: > > Hi Richard, > > I removed the folder and it worked great. > >

Re: Plugin Manager Updates does not display any updates

2012-08-13 Thread Samuel Lopez
I forgot to mention that when I click the check now button from the Manager Plugin Advanced section It says: Checking Updates... But it just sits there an never comes back On Mon, Aug 13, 2012 at 11:23 AM, SamL wrote: > Hello Folks. > > > I am running into the following situation where the P

Re: Plugin Manager Updates does not display any updates

2012-08-13 Thread SamL
One more thing when I press the check now button on the Advanced Tab under Plugin Manager it just says Checking Updates... but just sits there and never comes back Here is what the log file reports Aug 13, 2012 11:26:02 AM hudson.model.UpdateSite doPostBack INFO: Obtained the latest update ce

Re: marking a build as un-stable with groovy post-build plugin

2012-08-13 Thread Ingo Richter
Does the script execution fail with an error? Do you see something in the log? Which version of jenkins/groovy are you running? I have a similar snippet running properly on my machines. Ingo -- San Francisco Blog "today is tomorrows past blog"

Re: Changing the value for a Maving setting

2012-08-13 Thread Samuel Lopez
Hello Domi, Thank you very much for the reply. I tried EnvInject+Plugin. The variable now gets injected but there seems to be a problem with Jenkins Core not reading injected variables: https://issues.jenkins-ci.org/browse/JENKINS-14193?page=com.atlassian.streams.streams-jira-plugin:activity-st

Re: Mail Watcher Plugin not showing in "available plugins"

2012-08-13 Thread Chris Withers
On 13/08/2012 14:38, oliver gondža wrote: Fixed sources are at github [1]. It can be available through plugin manager within couple of hours. It still isn't... The plugin is rather new but jenkins is already offering it ([2] should contain "mail-watcher-plugin"). [2] http://updates.jenkins

Re: marking a build as un-stable with groovy post-build plugin

2012-08-13 Thread krishna chaitanya kurnala
Hello Ingo Thanks for your response. We are using Jenkins 1.474 and Groovy Post build version is 1.7 Can you please share with me the snippet if possible. Another observation is that, if i disable sonar analysis in the job and give a diff string to mark un-stabilize the Build, the same snippet

Build with for loop like finesse

2012-08-13 Thread rusty
PROBLEM: I need to build a project with certain parameters which then kicks of various other projects. I then need to build the same first project with a different set of parameters as soon as the full build pipeline finishes from the original build. eg: project1 with first set of parame

RE: Issue getting RVM working

2012-08-13 Thread de Herdt Arne
Getting slightly desperate now. - Reinstalled RVM as single user installation for the Jenkins user: Solved the file not found - Reinstalled Ruby in RVM : solved the reinstallation of Ruby But I have no idea how to solve the problem I'm currently experiencing, nor where it comes from: Checking

Jenkins CI Conference in Copenhagen - early bird registration expires TOMORROW!

2012-08-13 Thread Lars Kruse
** First Jenkins CI User Event in Copenhagen - sign up early at reduced price. Is this email not displaying correctly? View it in your browser.