Re: How to make one job run on all slaves if this job has some changes?

2012-05-23 Thread intelchen
Hi, :) great suggestion. For my current problem. I think that would be OK if there is one plugin could trigger this poll_svn_job for all slaves. current as I know, this job has only one instance for all slaves. so this job will be distributed only to slave. Bill On Thursday, May 24, 20

Re: How to make one job run on all slaves if this job has some changes?

2012-05-23 Thread intelchen
Hi, That is good tip. Actually I could make "Job B" as a copy job which copying TA scripts/config files/test files to slaves. And test jobs are triggered by installers job(which packing installers). I will take a experiment about that. On Thursday, May 24, 2012 1:22:30 AM UTC+8, KIK wrot

From Groovy script, SCM polling reports incorrect info if job makes its own checkins

2012-05-23 Thread joel
I have a bunch of interrelated jobs that do Maven releases. For various reasons, they're not using the Jenkins release plugin, but rather invoke mvn release:prepare release:perform as one of a sequence of steps. I have all the jobs linked together using build triggers, so if you run one of these

Re: cron "H" syntax

2012-05-23 Thread Maven User
"H" is a drop in for any of the time slots and/or *, so it felt natural (for me) to try "H/5". To explain that in a different way, I was attempting to say "poll every 5 minutes if nothing is polling, wait for that to finish otherwise". With that out there, if I just leave everything "*/5 * * *

Re: cron "H" syntax

2012-05-23 Thread Kohsuke Kawaguchi
Thanks for an interesting use case. */5 is just a short hand for 0-60/5, so I guess the general case that needs to be considered here is how to use hash in "(s-e)/d" construct. What's the good syntax here? H(s-e)/d? H(*)/d vs H/d? 2012/5/23 Maven User : > I just saw this and am kinda intrigued.

more graphs from junit tests?

2012-05-23 Thread Anthony Newnam
Is there a way for me to get a graph with time as the x axis instead of build number and see a graph of how long the tests took/how long an individual test took over time? It seems like the only way the graphs could be useful if they're over a very long period to indicate how your software is p

Re: save build meta-data/logs longer than archives

2012-05-23 Thread Anthony Newnam
Thanks. That looks perfect, and I had just skipped over it. On Wednesday, May 23, 2012 9:51:33 AM UTC-5, cjo wrote: > > Antony, > > In the Discard Old Builds section, > Where you set up the option to keep the builds for a length of time, or > maximum number of builds. > There is an advanced but

cron "H" syntax

2012-05-23 Thread Maven User
I just saw this and am kinda intrigued... Currently, we have 30 - 40 jobs all configured as */5 * * * * (so every 5 min) for their polling interval. But then I see this "H" thing "To allow periodically scheduled tasks to produce even load on the system, the 'H' token can be used. For examp

Re: How to make one job run on all slaves if this job has some changes?

2012-05-23 Thread Christoph Vogtländer
Hi, from what you describe I think you could use a Multi-Configuration (Matrix) project. Define one axis containing the slaves you want to use for building. AFAIK there is not much documentation, see https://wiki.jenkins-ci.org/display/JENKINS/Building+a+matrix+project -- Christoph

RE: Email with pmd | checkstyle

2012-05-23 Thread Alex Earl
You would use them the same way they are used in Java. Sent from my Windows Phone -- From: arjun tr Sent: 5/23/2012 11:29 AM To: jenkinsci-users@googlegroups.com Subject: Re: Email with pmd | checkstyle I tried looking into analysis core and analysis collector plugin b

Re: Email with pmd | checkstyle

2012-05-23 Thread arjun tr
I tried looking into analysis core and analysis collector plugin but could not understand how the objects are defined for use in jelly and groovy. Is there anything I'm missing, I'm new to Jenkins code even though I have been using Jenkins for a long time Regards, Arjun On Wed, May 23, 2012 at

Re: How to make one job run on all slaves if this job has some changes?

2012-05-23 Thread KIK
I have one idea. it needs 2 build jobs use "Jenkins Parameterized Trigger plugin" with "NodeLabel Parameter Plugin ". 1.Make "Job A". "Job A" poll

Re: Multiple JUnit reporters

2012-05-23 Thread Dean Yu
Hi Jens, See if the Labeled Test Groups plugin will work for you: https://wiki.jenkins-ci.org/display/JENKINS/LabeledTestGroupsPublisher+Plug in -- Dean On 5/22/12 1:21 PM , "Jens Müller" wrote: >Hi, > >it's easy to publish JUnit test results and get a nice chart. > >Is it possible to hav

Re: Problems with multi-job linkage and e-mail notification

2012-05-23 Thread cjed
I'm bumping this in the hope that someone can give some assistance on getting more debug logging out of Jenkins. I've tried adding some logging via the "Manage Jenkins"/"System Log"/"Add new log recorder" using loggers for hudson.scm.SubversionSCM, hudson.scm, hudson.tasks.Fingerprinter, and hudson

Maven configuration not populating files from Config File Provider Plugin

2012-05-23 Thread Brian Repko
Have installed the Config File Provider Plugin and created a user settings.xml file in there. When I go back to my existing Maven jobs - or create a new one - the drop down for Maven Settings Config is empty. Is there some configuration of the Maven plugin to grab those alternative settings.x

Re: Prefix help with plugin name?

2012-05-23 Thread Slide
Which config page are you talking about? The project config page or the global config page? Each plugin section is prefixed with a header. For example the email-ext plugin is prefixed with a header "Editable Email Notification" slide On Wed, May 23, 2012 at 7:58 AM, Kalpesh wrote: > I have been

Prefix help with plugin name?

2012-05-23 Thread Kalpesh
I have been trying some plugins and I suddenly see 30 new options in config page no idea about which options shows up for which plugin Has no one faced this? I think it would be a good idea to either prefix options/checkboxes or at least the help messages, with prefix of the plugin/component name

Re: save build meta-data/logs longer than archives

2012-05-23 Thread cjo
Antony, In the Discard Old Builds section, Where you set up the option to keep the builds for a length of time, or maximum number of builds. There is an advanced button that will let you set the same items for the artifacts. I believe the warning counts are stored separately to these artifact

How to make one job run on all slaves if this job has some changes?

2012-05-23 Thread intelchen
Hi all, We have one Jenkins master hosted on Linux which is used for building install packages from source codes. And also we have 6 window and 2 linux test servers which are used for TA(test automation) purpose. Usually one test server is used for only some similar test suites. And we store

Re: Email with pmd | checkstyle

2012-05-23 Thread Slide
Currently there is a bug in the groovy templating that it does not load/import the Jenkins object model correctly, I am working to fix this. Jelly has no such issue and you can interact with the full Jenkins object model. slide On Tue, May 22, 2012 at 9:20 PM, arjun tr wrote: > Are there any doc

RE: Rename a job with REST API

2012-05-23 Thread HARDION Vincent
Up Any chance to have an answer ? Maybe someone can tell me how to know if a function is reachable through REST by seeing the source code. Best regards, Vincent From: HARDION Vincent Sent: Tuesday, May 22, 2012 1:47 PM To: jenkinsci-users@googlegroups.com Subject

save build meta-data/logs longer than archives

2012-05-23 Thread Anthony Newnam
Is there any way (plugin/option) that I can use to save the meta-data and logs of a build job without saving the artifacts? Each of the builds stores almost 1GB of artifacts for 10 days, and I don't have enough space to store hundreds of days worth, but I would like to keep the logs around. I wo

trigger build on git tag creation

2012-05-23 Thread Zoltan Gyarmati
Hi, is there any way to tell to Jenkins/Git plugin to trigger a build only when a new tag is created on the git master? Currently i'm using scm polling, and for now i would like to avoid to set up hooks in the git repo to trigger a build. Thx for any hints or ideas in advance. Zoltan

Re: Exclusion plugin not releasing?

2012-05-23 Thread Jan Seidel
I think we have been discussing this issue 1-2 month ago in this group. As far as I recall do some certain job setups create a race condition. You should look it up. HTH Jan Am Montag, 21. Mai 2012 15:42:50 UTC+2 schrieb (unbekannt): > > We have used the Exclusion plugin ( > https://wiki.jenkins

Re: Turn off individual build steps?

2012-05-23 Thread Jan Seidel
There are two ways to accomplish this with Conditional Build Step Plugin and one way to script. And believe me mate, you don't want to take the road to scripting it. Conditional Build Step Plugin is perfect for this. - You can set up your checkboxes on the build job page by parametrzing

Re: Displaying user in the Build History column on the left

2012-05-23 Thread Jan Seidel
That's something I would be interested in as well. I haven't looked too much into the syntax of the description setter yet but I think it can be done with some nasty regex Am Freitag, 18. Mai 2012 02:54:42 UTC+2 schrieb bl0ck3r: > > I already use the description setter to set the description to t

Re: Email with pmd | checkstyle

2012-05-23 Thread arjun tr
On Wed, May 23, 2012 at 1:33 PM, Ullrich Hafner wrote: > On 05/22/2012 06:23 PM, arjun tr wrote: > > sorry, but I tried this in vain. I got some jelly script from some > stackoverflow which showed how to configure pmd, checkstyle, findbugs > individually. > > > But did you use the new template I

Re: How to reboot a slave during a build?

2012-05-23 Thread Jan Seidel
There is a not crunchable issue you have to reboot the machine/service while building. You won't get a job status and this breaks the build queue. No follow up job will run that way. I have been in a similar situation but really had to reboot the Jenkins. Normally a build step with "call reboot.b

Selecting sub modules for maven multi project

2012-05-23 Thread Cemo Koc
Hi, I have a multi module maven project. But I would like to choose sub modules before triggering a new build. Is there any plugin for it or I have to develop myself? :) Thanks

Re: specific need run all jobs at once

2012-05-23 Thread Jan Seidel
I have a job that triggers all jobs at night but the jobs themselves can be triggered individually as well. But in my case is no specific order needed. Take care Jan Am Donnerstag, 17. Mai 2012 17:11:32 UTC+2 schrieb atef_101: > > Hi I ! > I have a specific need: in some cases we need to run a

Re: Error running Windows batch file via build step

2012-05-23 Thread Jan Seidel
Hi folks, runas has an option called /savecred. You would have to use runas once in the wanted user context and enter the credentials interactively. After that should it also work non-interactive. HTH Jan Am Donnerstag, 17. Mai 2012 10:36:43 UTC+2 schrieb Lee Winder: > > Hi Indyn > > I solved

Re: Changing jenkins URL doesn't work

2012-05-23 Thread Jan Seidel
Did you restart (!) Jenkins after the changes where made? Do you have an environment variable set? query for JENKINS_* Take care Jan Am Donnerstag, 17. Mai 2012 02:32:10 UTC+2 schrieb slide: > > Let me look up the bug number, it may not have gotten in until the > release today of 2.21 > > Sent

Re: Email with pmd | checkstyle

2012-05-23 Thread Ullrich Hafner
On 05/22/2012 06:23 PM, arjun tr wrote: > sorry, but I tried this in vain. I got some jelly script from some > stackoverflow which showed how to configure pmd, checkstyle, findbugs > individually. > But did you use the new template I referred to? > It would help if there is some sort of document