Re: svn dilemna

2012-03-29 Thread Didier Durand
Hi Shanz, We do also archive executable (jars) in jenkins for various reasons. To avoid the out of synch issue that you mention, we create a tagged (i.e named) backup of the sources via a "svn copy" in the subdir /tags of our svn. Then, we check out the source from there, compile it and commi

Loading Configs in Groovy

2012-03-29 Thread Jay Flowers
I am interested in being able to configure Jenkins through Groovy. It would be nice to be able to load up the object model in code from the xml config files. I unzipped the war web-inf lib dir and placed it in the classpath for Groovy. I had to remove the the asm-2.2.3.jar from the classpath to

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

2012-03-29 Thread Christopher Orr
On 03/28/2012 08: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 own Unix account. G

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

2012-03-29 Thread Richard Berger
Thanks all - everything is working fine now. The problem was fundamentally not realizing that Jenkins pulls over a copy of everything (including build.xml) into the Jenkins workspace. RB On Mar 29, 4:25 am, Didier Durand wrote: > Hi Richard, > > Generally speaking, you should never check-in resu

Re: EnvInject: injecting environment variables from URL

2012-03-29 Thread Grégory Boissinot
The SharedObjects 0.22 should solve this issue. On Thu, Mar 29, 2012 at 10:50 PM, John Vacz < mailing.list.collect...@googlemail.com> wrote: > ** > 0.21 fixed the problem. Thanks! > > There is a tiny issue though, I defined the following in a .properties > file: > > MAILING_LIST_DEV=dev1@company.

Re: View list of builds organised by branch?

2012-03-29 Thread Jminne
One stopgap solution: Have the description of the particular build run indicate the branch. You can use the build-description plugin to look for a regex and set the description. It's not great, but it avoids that first click to see which branch built. I don't have much Git experience, so th

Re: EnvInject: injecting environment variables from URL

2012-03-29 Thread John Vacz
0.21 fixed the problem. Thanks! There is a tiny issue though, I defined the following in a .properties file: MAILING_LIST_DEV=d...@company.com MAILING_LIST_PM=p...@company.com MAILING_LIST_RELEASE_NOTES=$MAILING_LIST_PM,$MAILING_LIST_DEV If I inject this properties file directly through envinje

Re: How to get artifact archived by upstream project

2012-03-29 Thread ysb33r
You can use the Copy Artifact plugin: https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin

Re: How to get artifact archived by upstream project

2012-03-29 Thread Mirko Friedenhagen
You could try the https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Maven+Repository+Server. Regards Mirko On Thu, Mar 29, 2012 at 17:03, hezjing wrote: > Hi > > I have a upstream project that create a file which will be processed by the > subsequent downstream projects. > > May I know how to

Re: svn dilemna

2012-03-29 Thread John Smith
Not strictly a Jenkins answer, but I would just be wary of committing executables to SVN. Remember that SVN is designed and optimised to handle source code. Sure it can handle binaries as well, but you are not going to get great compression. For a few small binaries this isn't much or a problem, bu

Re: svn dilemna

2012-03-29 Thread Les Mikesell
On Thu, Mar 29, 2012 at 9:10 AM, shanz wrote: > This is a subversion question rather than a Jenkins one I suppose. > Our build on Jenkins takes several hours.  Assume the build begins > with svn revision 700. > If someone commits to Jenkins' trunk (making revision 701) during > those build hours,

How to get artifact archived by upstream project

2012-03-29 Thread hezjing
Hi I have a upstream project that create a file which will be processed by the subsequent downstream projects. May I know how to configure a project to retrieve the latest artifact created by the upstream projects? -- Hez

Re: Removing Subversion credentials

2012-03-29 Thread Teo
On Thursday, March 29, 2012 2:38:12 PM UTC+2, Fernando Cervera wrote: > > SVN credentials are also stored *on each* Job that have used them. > (/Jenkins/jobs/some_job/*subversion.credentials*). Thanks! This (and the deletion from hudson.scm.SubversionSCM.xml )solved the problem. Matteo >

svn dilemna

2012-03-29 Thread shanz
This is a subversion question rather than a Jenkins one I suppose. Our build on Jenkins takes several hours. Assume the build begins with svn revision 700. If someone commits to Jenkins' trunk (making revision 701) during those build hours, then the resultant executable is out-of-step with the rep

Re: Windows slave

2012-03-29 Thread Sion
Suri, have you installed on Windows as a service? This will allow the master to stay connected to the node when logged off, however if the node is switched off (no power) this will be impossible anyway. On Mar 29, 11:31 am, Suri wrote: > Hi > > Is it possible to connect Windows slave using ftp/ss

Re: Removing Subversion credentials

2012-03-29 Thread Fernando Cervera
SVN credentials are also stored *on each* Job that have used them. (/Jenkins/jobs/some_job/*subversion.credentials*). On Thu, Mar 29, 2012 at 9:13 AM, Teo wrote: > > On Mar 29, 2:06 pm, Ferenc Kovacs wrote: > > you can update your credentials > throughhttp://yourjenkins/scm/SubversionSCM/enter

Re: how to report on multiple iterations of the same test

2012-03-29 Thread bl0ck3r
I was hoping to have an additional column for the seed value. I do not know what a "TestRunner" is, and unless it works with SystemVerilog, I can't use it. On Mar 29, 3:27 am, Ullrich Hafner wrote: > Can't you change the name of the test case dynamically? E.g., using a > TestRunner? > > Ulli >

Having trouble getting rake to run tests

2012-03-29 Thread Ian Connor
We have jenkins setup to pull from github and run the rake tests on a ruby on rails project. However, it marks the build as failed even though the logs show no errors or failures. The last few lines look like: Finished in 4.000166 seconds. 4 tests, 9 assertions, 0 failures, 0 errors Errors runni

Re: Removing Subversion credentials

2012-03-29 Thread Teo
On Mar 29, 2:06 pm, Ferenc Kovacs wrote: > you can update your credentials > throughhttp://yourjenkins/scm/SubversionSCM/enterCredential Thanks, it worked (or at least I could enter new credentials). Not that I don't trust the tool but: were the old credentials deleted? Is there a way to chec

Re: Removing Subversion credentials

2012-03-29 Thread Teo
As stated, empty for the jenkins user: $ cd ~jenkins/.subversion $ find . . ./auth ./auth/svn.ssl.server ./auth/svn.ssl.server/7b26c6dae06380248cfdb33d0766c18b ./auth/svn.simple ./auth/svn.ssl.client-passphrase ./auth/svn.username ./servers ./README.txt ./config If I log in as jenkins (su - jenki

Re: Removing Subversion credentials

2012-03-29 Thread Ferenc Kovacs
you can update your credentials through http://yourjenkins/scm/SubversionSCM/enterCredential On Thu, Mar 29, 2012 at 1:52 PM, Teo wrote: > Hi, > > I am trying to remove some Subversion credential since we need to use a > different > user for a couple of projects. > > What I did: > >- I remo

RE: Removing Subversion credentials

2012-03-29 Thread Matthew.Webber
Try ~/.subversion/auth/svn.simple From: jenkinsci-users@googlegroups.com [mailto:jenkinsci-users@googlegroups.com] On Behalf Of Teo Sent: 29 March 2012 12:53 To: jenkinsci-users@googlegroups.com Subject: Removing Subversion credentials Hi, I am trying to remove some Subversion credential since

Removing Subversion credentials

2012-03-29 Thread Teo
Hi, I am trying to remove some Subversion credential since we need to use a different user for a couple of projects. What I did: - I removed the credentials from hudson.scm.SubversionSCM.xml - I checked that credentials are not stored in the subversion preferences of the jenkins user

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

2012-03-29 Thread Didier Durand
Hi Richard, Generally speaking, you should never check-in results of tools produced elsewhere for use on Jenkins. You should rather implement those tools on your Jenkins server, run them there to obtain the results that you need in further steps of your Jenkins jobs. regards didier Le jeudi

Re: Windows slave

2012-03-29 Thread Ferenc Kovacs
On Thu, Mar 29, 2012 at 12:31 PM, Suri wrote: > Hi > > Is it possible to connect Windows slave using ftp/ssh from Master. > Our Jenkins service is running in Linux. We have lot of windows based > compilations. > > Currently we are running slave.jar in slave machine (Windows). > The problem is, if

Windows slave

2012-03-29 Thread Suri
Hi Is it possible to connect Windows slave using ftp/ssh from Master. Our Jenkins service is running in Linux. We have lot of windows based compilations. Currently we are running slave.jar in slave machine (Windows). The problem is, if someone shutdown the slave system(windows), node also getting

Scheduled build taking presedence in Build Pipeline

2012-03-29 Thread Sion
I have a build pipeline configured to works as follows: Unit tests - > Metrics -> Deployment. The unit test is a polled job that then triggers my metrics and finally the deployment. So that I dont keep wiping the CI environment I have the deployment occur nightly... this introduced a problem. The

My build hangs

2012-03-29 Thread Coding Nerd
My build just hang. Would you please help me solve out this problem. Below is threadDump of my jenkins: Thread Dump Attach API wait loop "Attach API wait loop" Id=7 Group=main RUNNABLE (in native) at com.ibm.tools.attach.javaSE.IPC.waitSemaphore(Native Method) at com.ibm.tools.att

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

2012-03-29 Thread Ullrich Hafner
I think you are on the right way. You don't need to check in the output.xml files, just check in the build.xml file and create the findbugs or checkstyle results while running the build (with your build.xml file) in the Jenkins workspace. Ulli On 03/29/2012 09:21 AM, Richard Berger wrote: > OK, I

Re: how to report on multiple iterations of the same test

2012-03-29 Thread Ullrich Hafner
Can't you change the name of the test case dynamically? E.g., using a TestRunner? Ulli On 03/28/2012 10:54 PM, bl0ck3r wrote: > 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...

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

2012-03-29 Thread Richard Berger
OK, I think I figured it out... the key was that in the Advanced settings for the "Invoke Ant" task, for the "Build File" I had put the path to my eclipsestuff/workspace/project/build.xml - so all the references inside that build.xml where being interpreted as relative to "eclipsestuff". Realizing