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 : > Is there an easy way to wait for a slave to become idle? > > I thought the cli command sequence offline-node followed by

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 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 > exactly. Run ntpd

Re: Optional File Parameterization?

2012-02-20 Thread Andrew Melo
On Mon, Feb 20, 2012 at 11:42 PM, Sami Tikka wrote: > Sorry, but you lost me. How does urllib come into the picture? > Sorry, I should've clarified. We have a number of different tools that trigger builds with jenkins through the REST interface. For instance, when someone posts a pull request t

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 Andre

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 kirjoitti 17.2.2012 kello 7.03: > Hi Guys > > I have a multi repo project, both checkouts are from sv

Re: Optional File Parameterization?

2012-02-20 Thread Andrew Melo
Hey Sami, On Mon, Feb 20, 2012 at 11:32 PM, Sami Tikka 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 urllib (I'm us

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 kirjoitti 20.2.2012 kello 0.09: > Hello, everyone- > > We currently use jenkins to test commits that are in our Git > repository, but I'd

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: 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: Pipelines in Jenkins...

2012-02-20 Thread Geoff Bullen
Jeff, We have a pretty similar set up to what you describe. We use a unique ID based on the build# of the first job in the pipeline. This is used to publish to the maven repo in the 1st step and retrieve artifacts in the subsequent steps. *Geoff Bullen * Centrum Systems Level 8, 5 Elizabeth St

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 al

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 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 output icon + 245M > I want

Re: ghunit testing in xcode

2012-02-20 Thread Sami Tikka
What happens if you replace the build step with these commands? env which sh -- Sami Mat Stollman kirjoitti 15.2.2012 kello 22.25: > Hey Everyone! > > I was wondering if anyone has received an issue with xcode 4.2.1 and > trying to run ghunit tests. For some reason, I can not get it to run >

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 shared

Wait for node idle?

2012-02-20 Thread Sami Tikka
Is there an easy way to wait for a slave to become idle? I thought the cli command sequence offline-node followed by wait-node-offline would do the trick but no. Wait-node-offline returns immediately even when the node is still completing a build. I just blew away a test build that takes 2.5 h

Re: Correctly Configuring LDAP

2012-02-20 Thread Chad
Also, here is the log output from OpenLDAP that shows a little better the query: Feb 20 11:29:44 mydomain slapd[1912]: conn=4184 fd=13 ACCEPT from IP=7.7.7.7:30696 (IP=0.0.0.0:636) Feb 20 11:29:44 mydomain slapd[1912]: conn=4184 fd=13 TLS established tls_ssf=128 ssf=128 Feb 20 11:29:44 mydomain sl

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

2012-02-20 Thread Maven User
Looking at this: https://issues.jenkins-ci.org/browse/JENKINS/component/15502 Seems like it's a mix of released and unreleased bugs/tasks/etc... How does one vote for a release of a plugin explicitly?

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

2012-02-20 Thread Maven User
OK - well, aside from a unittest that isn't compilable, how do I vote for this? On Feb 20, 1:42 pm, Maven User wrote: > 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-mer

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 wrote: > On 17 February 2012 21:

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, /global/home

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 objectClass: posixGroup cn: admins

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

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 wrote: > On 17/02/2012 19:02, SteveB wrote: > > > Trying to useJenkinsto r

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 Vlad

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 #7

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 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 > changes - do

RE: Need to checkout from Branch and build the project

2012-02-20 Thread dhanesh.koliyat
Hi Ilko, You are just awesome man That option is available just below CVSROOT! Thank you so much!! - [Description: Description: log.JPG] Regards Dhanesh Koliyat | +91 9980942584 | Location :

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 o

Re: Need to checkout from Branch and build the project

2012-02-20 Thread dhanesh.koliyat
Branches are already created. Now which URL i need to change? My CVSROOT is ":pserver:user:p...@example.server.com:/home/cvs/repository_abc" My branch name is "Release1" Where I need to change the URL?? -- View this message in context: http://jenkins.361315.n4.nabble.com/Need-to-checkout-from-

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

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

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 "1

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 environ