Re: manual promotion of two jobs to pass parameters to a third job

2012-02-20 Thread Matt Fair
Ok, I solved my problem, so here it is for people who are interested. Instead of passing parameters I saved my parameter to property files (one line each key=value) that I archived as artifacts. In job C I retrieved the artifacts from the last successful builds of Jobs A and B and injected

How to tell slaves the options for invoking java?

2012-02-20 Thread John R. Cary
I need to configure a node so that when Java is call, the memory option, -Xmx1850M, is used. I.e., $ java -version Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine. but $ java -Xmx1850M -version java version

Need to checkout from Branch and build the project

2012-02-20 Thread dhanesh.koliyat
Hi Team, I've a project which is having 10 modules. Till yesterday I was checking out from head of cvs repository. Now I'm informed to configure like, I need to checkout all the modules from a branch. How do I configure it in Jenkins? Please help me. Thanks in advance team :) -- View this

Re: Need to checkout from Branch and build the project

2012-02-20 Thread Maureen Barger
Well first you would need to create the branch in your repo if it is not already done, and modify poms and other supporting files if required. Then you can either modify your jobs in Jenkins to point to the different URL for your repo (reflecting the branch) or create a new view and new jobs based

Re: Need to checkout from Branch and build the project

2012-02-20 Thread Ilko Iliev
Well, it's been a long time since we've switched from CVS to SVN, but if I'm not wrong there should be additional text input for the name of the branch just below the CVSROOT configuration. You can't co a branch from CVS with a URL - you need to specify the name of the branch. Hope I'm not very

Re: Mercurial plugin NOT picking up merges back to the default branch

2012-02-20 Thread Ringo De Smet
On 17 February 2012 21:38, Maven User maven.2.u...@gmail.com wrote: Hi all - I think we're hitting this issue: https://issues.jenkins-ci.org/browse/JENKINS-12459 I'm not sure why one would ever want the --no-merges option. Shouldn't it be binary? There are changes - build, there aren't

Re: New build brakes already existing green build

2012-02-20 Thread staffan
Thanks for your help Karl, but I don't think were are talking about the sam problem here. Let me try to refrase: The problem is not wheter 355 is gren or not, the problem is that it influenced on the stable build 354. Last friday build #354 was green and stabel, along with the upstream project

xUnit - failed test did not set yellow ball

2012-02-20 Thread zakyn
Hello, I have upgraded Jenkins and xUnit plugin to the newest ones and now when my cpp unit tests failed I see there are problems in results but the yellow ball is not set next to the build name. The config file is totally the same. Do you have any idea what I could do to fix this? Thanks

Re: Jenkins running Python website functional tests

2012-02-20 Thread SteveB
It's a holiday here and all the files are at work. I can post info tomorrow. As to the selenium lib I used the pip install -U selenium like the python/selenium doc page says. Steve B. On Feb 19, 5:06 am, Chris Withers ch...@simplistix.co.uk wrote: On 17/02/2012 19:02, SteveB wrote:

Re: xUnit - failed test did not set yellow ball

2012-02-20 Thread Thomas Fürer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 please vote for https://issues.jenkins-ci.org/browse/JENKINS-12616 I think you are running in the same issue as I do. thomas Am 20.02.2012 15:59, schrieb za...@centrum.cz: Hello, I have upgraded Jenkins and xUnit plugin to the newest ones and

Correctly Configuring LDAP

2012-02-20 Thread Chad
Hello: I have an OpenLDAP server running ldaps. It's a very simple and basic configuration that I use for identity management for linux boxes. My structure is as follows: Root DSE dc=mydomain,dc=com ou=group entry objectClass: posixGroup cn:

Initial call to java needs environment and args

2012-02-20 Thread John R. Cary
I am running into an issue on systems that use the module infrastructure to set up paths, etc., when using Jenkins to launch a slave via ssh. The first issue is that the location of java is not known until one does module load java, and module is not known until a system file,

Re: Mercurial plugin NOT picking up merges back to the default branch

2012-02-20 Thread Maven User
I didn't notice the changes (I forked this plugin about a month ago tho). I just ended up creating a checkbox that allowed the user to choose if they'd like the --no-merge option during polling. I'll go take a look to see tho... On Feb 20, 9:28 am, Ringo De Smet ringo.des...@gmail.com wrote:

Re: git: reduce clones' disk space

2012-02-20 Thread Sami Tikka
You can already achieve the same benefit by making a local clone of the git repo (use --bare for this) and then configuring each job to have 2 repos: the first should be /path/to/local/repo and the second can be the location where you usually clone from. This way most git objects will be

Re: build history token

2012-02-20 Thread Sami Tikka
It means you have installed the disk usage plugin and it has determined that build consumes 245 megabytes of disk space. -- Sami fiona bingxue0...@hotmail.com kirjoitti 17.2.2012 kello 4.28: now I find in build history pane,it look like: blue star icon + #2012-2-16 19:35:55 + console

Re: Pipelines in Jenkins...

2012-02-20 Thread Geoff Bullen
The join plugin doesn't work with the build pipeline plugin. However you can achieve pretty much the same thing by wrapping up multiple jobs a build steps using the parametrised triggers plugin In terms of passing artefacts down a pipeline of jobs, what I tend to do is pass a unique identifier

Re: Correctly Configuring LDAP

2012-02-20 Thread Chad
Analyzing the LDAP log file, I noticed that the invalid dn appears to be: dn (cn=Test User+gidNumber=1000+homeDirectory=/home/test+loginShell=/ bin/bash+shadowLastChange=15337+shadowMax=9+shadowMin= +shadowWarning=7+uid=test +uidNumber=1003,ou=people,dc=mydomain,dc=com) I'm wondering why the

Re: constant building from svn - no change

2012-02-20 Thread fiona
in my global system configuration, I set my subversion revision policy to 'Head Revision' ,in my job config I set 'Poll CM' to */10 * * * *,I think whether the polciy result in the issue? if there is a possibility: during one build updating (update time is slow) , ten minutes passed, during the 10

Re: Optional File Parameterization?

2012-02-20 Thread Sami Tikka
You just have to change your build scripts to use the uploaded file if it exists in the workspace and do something else if it doesn't. -- Sami Andrew Melo andrew.m...@gmail.com kirjoitti 20.2.2012 kello 0.09: Hello, everyone- We currently use jenkins to test commits that are in our Git

Re: Optional File Parameterization?

2012-02-20 Thread Andrew Melo
Hey Sami, On Mon, Feb 20, 2012 at 11:32 PM, Sami Tikka sjti...@gmail.com wrote: You just have to change your build scripts to use the uploaded file if it exists in the workspace and do something else if it doesn't. I would like to do that, but it doesn't seem to work. If I make the call with

Re: constant building from svn - no change

2012-02-20 Thread Sami Tikka
The fist thing you need to check with svn, possibly others too, is that Jenkins server's and svn repo server's clocks are in sync. Not almost, but exactly. Run ntpd on both of them. -- Sami terry.rank...@csiro.au kirjoitti 17.2.2012 kello 7.03: Hi Guys I have a multi repo project, both

Re: Optional File Parameterization?

2012-02-20 Thread Sami Tikka
Sorry, but you lost me. How does urllib come into the picture? You configure the job to take file parameter and name it foo.tmp. Then your build script checks if file foo.tmp exists. If it does, rename it to foo and start testing it. If it doesn't, build foo and start testing it. -- Sami

Re: constant building from svn - no change

2012-02-20 Thread fiona
jenkins and svn repo server are in the same domain, the clock should be in sync, is it? On 2月21日, 下午1时37分, Sami Tikka sjti...@gmail.com wrote: The fist thing you need to check with svn, possibly others too, is that Jenkins server's and svn repo server's clocks are in sync. Not almost, but

Re: Wait for node idle?

2012-02-20 Thread Sami Tikka
I found this as a workaround: while [ $(curl -fsk $JENKINS_URL/computer/$BUILDER_NAME/api/xml?xpath=*/idle/text()) != true ]; do sleep 5; done 2012/2/21 Sami Tikka sjti...@gmail.com: Is there an easy way to wait for a slave to become idle? I thought the cli command sequence offline-node