which logger to enable for investigating Master/Slave communication

2012-06-14 Thread Mohammed, Ashfaque
Hi, For Jenkins version 1.458, for Maven builds we are noticing sometimes even after the build is done the master is waiting for a long time to finish. So need to investigate whether master is waiting for the slave is slow to respond. Would appreciate if someone can point the correct logger(s)

Re: Limit for quiet period

2012-06-14 Thread Aaron Ten Clay
Lewis, Can you just set your quiet period to 2 hours? Then no matter how often commits happen, your code will be built every 2 hours instead of every 30 minutes. Maybe I don't understand what you want to accomplish. -Aaron On Thu, Jun 14, 2012 at 11:25 AM, Lewis wrote: > Does anyone know of a

Re: Building

2012-06-14 Thread Aaron Ten Clay
If I understand your question correctly, it seems like you could just add an 8 hour quiet period on Project B, which means it will build at most every 8 hours. -Aaron On Thu, Jun 14, 2012 at 1:21 PM, Mandeville, Rob wrote: > If I was confronted with this, I might just put project B on a schedul

Re: SEVERE: Failed to record SCM polling for hudson.model.FreeStyleProjec

2012-06-14 Thread SamL
Hello Guys Does anyone have any ideas on this issue? I have tried spreading the polling time for our builds but the problem continues to reoccur. Any help would be much appreciated Thanks On Thursday, June 14, 2012 8:16:46 AM UTC-7, SamL wrote: > > Hello Folks. > > I just began this erro

Re: Jenkins as a Windows service

2012-06-14 Thread Slide
What type of monitoring are you looking for? You can still kick of builds and what not using the web interface. slide On Thu, Jun 14, 2012 at 2:50 PM, louwho wrote: > Is there (or should there be), a seperate forum\group\whatever for those who > have questions regarding Jenkins installed as a wi

Jenkins as a Windows service

2012-06-14 Thread louwho
Is there (or should there be), a seperate forum\group\whatever for those who have questions regarding Jenkins installed as a windows Service? Also, is there a plugin (to be installed on a windows system) for monitoring Jenkins jobs? I understand that CCTray can be used, but it only monitors (

Memory dump at startup

2012-06-14 Thread Nicky Ramone
Hi I just upgraded to Jenkins 1.470 and since then I haven't been able to start it up. I tried downgrading again but now I get the same errors with the previous version that worked. I don't know if somehow my data could have got corrupted. This is where the error starts on the log: ... ... INFO:

RE: Building

2012-06-14 Thread Mandeville, Rob
If I was confronted with this, I might just put project B on a schedule to run three times a day. For extra credit, I’d check the SCM to see if anything has changed since the previous build and skip the build if that’s the case. --Rob From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-u

Re: Building

2012-06-14 Thread Lewis
Rob, I have two different types of builds. One uses some prebuilt packages ("Project A") and the other builds everything including those packages that are prebuilt ("Project B"). Since Project B takes more time to build I don't want to run it very often. I have Project A polling the SCM and bu

RE: Building

2012-06-14 Thread Mandeville, Rob
Could you have step 1 of project B be ‘Sleep for eight hours’? If project A builds again, that will put one more B job on the queue, but only one more (you can’t have more than one job of a project with the same parameters in the queue at the same time). Maybe if you explained your goals more

Building

2012-06-14 Thread Lewis
I would like to have Project A trigger a build of Project B with a very large wait time (about 8 hours). I do not want the project to reset it's wait time if Project A builds. Instead of trying to queue the project again and resetting the wait time I would like Jenkins to realize that the projec

Limit for quiet period

2012-06-14 Thread Lewis
Does anyone know of a way to limit the number of times a project will wait for it's quiet period? My goal is to ensure that the project will build even it commits keep happening. For example: Say my quiet period is 30 minutes, I want my project to build after 2 hours even if new code is commit

Re: Multi-process jobs in Windows

2012-06-14 Thread Aaron Ten Clay
It's worth noting that this build uses CMake to generate the Makefiles from the project specification files in the prepare_to_build.bat step, but that should have little bearing on the resulting behavior. The problem is that when run outside of jenkins, the build takes just a minute, and Task Mana

SEVERE: Failed to record SCM polling for hudson.model.FreeStyleProjec

2012-06-14 Thread SamL
Hello Folks. I just began this error. I am running Jenkins1.467 CVS Plugin 2.3 SEVERE: Failed to record SCM polling for hudson.model.FreeStyleProject@7d08c1b7[] java.lang.NullPointerException at hudson.scm.CVSSCM.getBranchName(CVSSCM.java:664) at hudson.scm.CVSSCM.buildEnvVars(CVSSCM.ja

RE: Jenkins executing build .bat with gui

2012-06-14 Thread Alex Earl
Running explorer.exe would launch the application which would never close since explorer just opens. That doesn't make much sense ad I reread it but hopefully you get what I mean. If you want to just test by starting Jenkins from the cmdline, just stop the service and try running. Sent from my Win

RE: Bug in latest release of Build timeout plugin 1.9

2012-06-14 Thread Matthew.Webber
I have opened https://issues.jenkins-ci.org/browse/JENKINS-14105 for this bug. From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Jason Swager Sent: 14 June 2012 15:26 To: jenkinsci-users@googlegroups.com Subject: Re: Bug in latest release of Build timeo

Hudson user databases integrated management

2012-06-14 Thread tcendrowski
Hi, I have a question about Hudson user management. I have been looking for a plugin for Hudson which could enable, in one place, management of users from at least 2 different hudson machines. For example Hudson on host1:8080 have users u1, u2, u3 and host2:8080 have users us1, us2, us3. I wou

Re: Jenkins executing build .bat with gui

2012-06-14 Thread Christoph
Hallo, thank you for the quick answer that sounds like the right answer however activating the interaction with desktop did not help. even if i just try to start explorer from within jenkins it hangs. by the way, how do i unistall jenkins completely, when installed as a service? so, when i

Re: Bug in latest release of Build timeout plugin 1.9

2012-06-14 Thread Jason Swager
> > Seeing similar behavior. Actually, I'm seeing worse. Regardless of what > value I specify, it looks like a 3 minute value is all that every gets > saved.

Re: Multi-process jobs in Windows

2012-06-14 Thread Chris Haverkate
Here is a dump of all the details I can think of. If something is missing, let me know. *Make:* make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A

RE: How to update node description via a script?

2012-06-14 Thread Stanley, Jason
You are correct. I am only changing the description of the node, not the name. -Original Message- From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Mandeville, Rob Sent: Thursday, June 14, 2012 10:03 AM To: 'jenkinsci-users@googlegroups.com' Su

Move Groups of Views Around

2012-06-14 Thread grayaii
Over time, we've amassed a rather large and complex "view hierarchy" in Jenkins and we would like to clean this up. Is there a way to move groups of views around? For instance, we have a view structure like this: Root |-->ViewB |-->ViewC | \-->ViewD |-->ViewE \-->ViewF

RE: How to update node description via a script?

2012-06-14 Thread Mandeville, Rob
You might not want to change the name of the node, but rather a label, like db_ver_1 or db_ver_2. Changing node names may be confusing, and using labels allows you to specify jobs that only run on one or the other database. --Rob -Original Message- From: jenkinsci-users@googlegroups.co

RE: How to update node description via a script?

2012-06-14 Thread Stanley, Jason
Thanks I want to update the description of the node to reflect the database version that is installed. Example: Description: DB Version1 Run my job to upgrade the DB to version2. After job runs, DB is now version2 but description of node still says 1. I need to manually change this to 2.

Project will fail on "mkdir" on remote disk.

2012-06-14 Thread Macpaul Lin
Hi, I have another problem - which is almost the same problem of this issue about mkdir/open files on remote disk. Currently I'm using Jenkins ver. 1.467 with Windows XP 32bit. When I want to checkout source code to remote disk whether it is on MAC OS or Linux, I'll get mkdir fail. I'm very s

Re: How to update node description via a script?

2012-06-14 Thread grayaii
There is a way to *get *the node description: http://javadoc.jenkins-ci.org/hudson/model/Slave.html#getNodeDescription%28%29 http://javadoc.jenkins-ci.org/hudson/model/Slave.html#getNodeDescription%28%29 Here is a wiki page that I created that has a code snippet on how to get node information. (j

Re: Jenkins executing build .bat with gui

2012-06-14 Thread Slide
On Thu, Jun 14, 2012 at 6:41 AM, Christoph wrote: > Hello, > > I have a problem with jenkins stable on win7, running as system > service, installed as described by the documentation. > I use CodeBlocks as IDE and it can be trigered by command line, so i > made a .bat file that builds my projekt us

RE: How to update node description via a script?

2012-06-14 Thread Mandeville, Rob
I recently had a problem where I need to automatically take nodes online and offline. My solution was to install the Scriptler plugin and write a couple of Groovy scripts that talk directly to the server data structures. The code below will take any "temporarily offline" hosts for label "label

Jenkins executing build .bat with gui

2012-06-14 Thread Christoph
Hello, I have a problem with jenkins stable on win7, running as system service, installed as described by the documentation. I use CodeBlocks as IDE and it can be trigered by command line, so i made a .bat file that builds my projekt using CodeBlocks command line execution. The .bat works exactly

How to update node description via a script?

2012-06-14 Thread Stanley, Jason
Hello I have automated a build process to update a database on my build nodes. The one last step I am trying to do is update the node description in Jenkins. There is no CLI operation to change the description of the Node. Does anyone have a simple script or idea of how I can update the descrip

Copy Artifacts Plugin installed - no new Buildstep action shown

2012-06-14 Thread mossi
Hi, we have Jenkins running on a CentOS 5.8 x64 server. I installed the Copy Artifacts Plugin and restarted Jenkins, but the new build step did not show up. I also updated Jenkins to the latest version 1.470 but that didn't help either. We have a whole bunch of plugins installed, but it seems t

Re: Can you run a downstream project only if the upstream has changed?

2012-06-14 Thread Miguel Almeida
Hi Sami, Thanks for the tips. I do have a coulpe of follow-up questions: On Tuesday, June 12, 2012 11:44:08 PM UTC+1, sti wrote: > > Configure the Deploy job to also check out source code from SCM (even > though it would not use it) and make it poll only at midnight. > You mean make it check o