Simple newbie question on how Post-build actions work...

2012-03-28 Thread Richard Berger
I am playing with Jenkins (which seems really cool) and have a question on coordinating Post-build actions, for example "Publish FindBugs analysis results". I started this project in Eclipse and the code resides in the directory eclipsestuff/workspace/project (not the real name). The code is also

Re: Jenkins site down?

2012-03-28 Thread Sampo N.
Hi, The problems continue. Yesterday the update URL was working, this morning not. Whatever way I access the URL from our company network (through our web proxy) I get a 404 with the error text: The server has not found anything matching the request URI You can get technical details here.

Re: Want the status of all forked jobs, failing using Join Plugin

2012-03-28 Thread Sami Tikka
Did you try multiconfiguration job? When you create a new job, the first choice allows you to create job which can e.g. run on different platforms and the job is done only when all the platforms have been built. -- Sami kenstir kirjoitti 27.3.2012 kello 23.49: > My goal is to launch an "all-

Re: git repository clone once

2012-03-28 Thread Sami Tikka
Open the advanced settings under the job git configuration. There you will find a place to enter path local reference repository. That should make things faster for you and save a lot space. We have build slaves with smallish SSD disks, so we're very careful about disk space use. We have a clo

Can I link from test reports to workspace views?

2012-03-28 Thread Jeff Stewart
I was surprised to find that my MSTest test results (converted with the MSTest plugin ) didn't link mentions of source files to the workspace view. I'd have thought that linking from a test report to a source file for the test would be

Re: Is it possible to distinguish between a job triggered by an SCM trigger/periodic trigger/etc... based on a system property set by Jenkins?

2012-03-28 Thread Grégory Boissinot
Documentation added On Wed, Mar 28, 2012 at 7:19 PM, domi wrote: > Actually the the env-inject plugin does this - i'm not sure why this is > not documented > Its implemented like this: > - BUILD_CAUSE contains a coma separated list of all causes > - each active cause gets its own envvariable by

Re: Using relative paths when deploying ZIP artifact using Jenkins Artifactory Plugin

2012-03-28 Thread abargnesi
Jim, Thanks. That worked for me. I added the ${project.build.directory} property into and then made up a . I still was not able to deploy using the artifactory plugin so I instead added a post- build maven step to run deploy:deploy-file. Solid for now! Thanks for the help! Tony On Mar 28, 3

how to report on multiple iterations of the same test

2012-03-28 Thread bl0ck3r
I need to report on multiple iterations of the same test when it is run with different seeds. With the following report, jenkins does not see multiple iterations... how do I get it to report all the iterations? Thanks.

RE: View list of builds organised by branch?

2012-03-28 Thread Todd Greer
seanh said: > Hey, I've setup a Jenkins job for our Python app with the Git and GitHub > plugins. Whenever someone pushes a new commit to any branch of our GitHub > project, Jenkins checks out that commit and runs a script which runs our unit > tests using nose, and if you view the build in Jen

RE: Using relative paths when deploying ZIP artifact using Jenkins Artifactory Plugin

2012-03-28 Thread Jim McCaskey
Tony, I believe that you will need to add a classifier. I think a phase will be needed as well. There is an example of attaching an artifact here (you have to scroll a bit, that page does not have direct links): http://mojo.codehaus.org/build-helper-maven-plugin/usage.html I think using the

Re: Using relative paths when deploying ZIP artifact using Jenkins Artifactory Plugin

2012-03-28 Thread abargnesi
Jim, Thanks for the help. My assembly descriptor has some deprecated elements (moduleSet/binaries) so I'm not sure I can expect Maven to contribute the built zip to the project. I have just given the build-helper-maven-plugin attach-artifact a go and it fails with the following message: [ERROR]

Re: Handling one-build-per-account configurations (Unix)

2012-03-28 Thread Les Mikesell
On Wed, Mar 28, 2012 at 1:26 PM, Mandeville, Rob wrote: > I’m running a build farm with about 60 active branches at a given time.  The > machines on our build farm can comfortably run 5-8 build and test jobs at > any given time, with one stipulation: each build and test job needs to be in > its ow

Handling one-build-per-account configurations (Unix)

2012-03-28 Thread Mandeville, Rob
I'm running a build farm with about 60 active branches at a given time. The machines on our build farm can comfortably run 5-8 build and test jobs at any given time, with one stipulation: each build and test job needs to be in its own Unix account. Getting around that is more trouble than it's

RE: Using relative paths when deploying ZIP artifact using Jenkins Artifactory Plugin

2012-03-28 Thread Jim McCaskey
Tony, Jenkins should pick up things generated by the maven assembly plugin. Having said that, could you not use the build-helper-maven plugins attach-artifact goal to attach the zip file to your Maven project: http://mojo.codehaus.org/build-helper-maven-plugin/attach-artifact-mojo.html After

Using relative paths when deploying ZIP artifact using Jenkins Artifactory Plugin

2012-03-28 Thread abargnesi
Hello, I have a ZIP file generated by a maven assembly that I want to install into an artifactory instance. This ZIP file is not an artifact of the maven build so it is not picked up by the Maven3 artifactory deployment. I instead enabled Generic-Artifactory Integration and mapped that zip file

Re: Is it possible to distinguish between a job triggered by an SCM trigger/periodic trigger/etc... based on a system property set by Jenkins?

2012-03-28 Thread domi
Actually the the env-inject plugin does this - i'm not sure why this is not documented Its implemented like this: - BUILD_CAUSE contains a coma separated list of all causes - each active cause gets its own envvariable by this convention: BUILD_CAUSE_=true (there will never by a false, so not

Sri Kamakshi wants to chat

2012-03-28 Thread Sri Kamakshi
--- Sri Kamakshi wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-e838efc04-f196c8ffdb-L3Wmf2cgBkomGxMShwLWMMpPZcc You'll ne

Using jenkins to monitor build which is running on external machines

2012-03-28 Thread Sri Kamakshi
Hello Team, I want to use jenkins not for the build automation purpose whereas i want to use this interface to monitor externally run job from the different build machines. As a test i have already configured jenkins on one of the test machines and now i need to have the build process which is r

Jenkins - Getting Maven Version Number?

2012-03-28 Thread Daniel Jones
Hi all, I'd like my Jenkins job to be able to 'read' the Maven version number of a Maven build. I *don't* want Jenkins to pass a build number through for Maven to use, rather the opposite direction: have build post-steps know what Maven version was just built. We're using a custom Maven plug-in t

Re: Jenkins site down?

2012-03-28 Thread Sampo N.
Hi, There's something weird going on with the site still. This morning everything was working fine, except Firefox which redirected http://jenkins-ci.org/ to http://jenkins-ci.org/index.html, which gives a 404. Clearing Firefox's cache solved the redirect issue (does Firefox really cache redirec

Re: View list of builds organised by branch?

2012-03-28 Thread seanh
> > Hello, > > > > that's a good idea, I guess it would require an alternative view of the > > build history that would 'group' the builds by branch. > > Yes, exactly. And sort the groups by time of latest build, so that > recently built branches appear near the top of the page. I'm guessing not

Re: Regexp or wildcard downstream triggering

2012-03-28 Thread Daniel Tkatch
Hi Jan, Thanks for your reply! Tricky hack you suggested but I would rather not manipulate the config.xml files :) I would like to start several jobs according to their names and avoid putting them all in the upstream job's configurations and having to add or remove when another relevant job crea

Re: Regexp or wildcard downstream triggering

2012-03-28 Thread Jan Seidel
Hi Daniel, that is a wish probably many of us have in different situations ;) As example: I would like to use vars or regex in URL for SCM check out. That would reduce the amount of jobs significantly. Using more jobs makes it easier. The question is, do you just want to use some specific jobs in

Re: Want the status of all forked jobs, failing using Join Plugin

2012-03-28 Thread Jan Seidel
Hi Ken, Ok ... you are not dreaming but I am not really awake yet ;) on the other hand, dreamiong is good, that imporves your creativity XD Only your scripting skills and imagination define the limits of what you can do with Jenkins. Do you have at least TWO build slots available on Jenkins? Else

Regexp or wildcard downstream triggering

2012-03-28 Thread Daniel Tkatch
I would like a Jenkins job to trigger others according to a regular expression matching of their names or at least using wildcards. At the moment I can only trigger multiple downstream jobs if I list them all comma separated. TestSuite-production -> *Test-production instead of TestSuite-production

Re: Is it possible to distinguish between a job triggered by an SCM trigger/periodic trigger/etc... based on a system property set by Jenkins?

2012-03-28 Thread Jan Seidel
Hi Omair, not as far as I know. I think the environment variables would end up in one big mess as you would have to invent a system property for each single job with each trigger reason. Way easier is to duplicate a job as many times as you have different build trigger reasons. This makes you les

Re: Can you recommend a jenkins-friendly C++ code coverage tool?

2012-03-28 Thread Johannes Wienke
Am 28.03.2012 09:56 schrieb Chris Withers: > On 27/03/2012 18:03, Mark Waite wrote: >> I configured gcc with lcov output to HTML and used a plugin that let me >> link to the lcov HTML output. It was fast and easy to configure and has >> worked well enough for my needs. > > Interesting, what stoppe

Re: Can you recommend a jenkins-friendly C++ code coverage tool?

2012-03-28 Thread Chris Withers
On 27/03/2012 18:03, Mark Waite wrote: I configured gcc with lcov output to HTML and used a plugin that let me link to the lcov HTML output. It was fast and easy to configure and has worked well enough for my needs. Interesting, what stopped you getting it to work with the Cobertura plugin? Al