Re: Regarding docker : JENKINS-30113

2015-10-30 Thread Pradeep Kumar Mantha
Even I see the same problem as Irfan, Here we are not expecting environment variables from Jenkins. We expect whatever the variables/path set in docker file to be available to the build script. But currently the variables are being overwritten with the jenkins build environment variables, which

CloudBees Docker Custom Build Environment Plugin Container Environment Variables are overwritten by build environment variables.

2015-10-30 Thread Pradeep Kumar Mantha
I have a docker image which exports JAVA_HOME, ANT_HOME, PATH and couple of other environment variables. When i run the container without using the plugin the build script finds all the environment variables and it works fine. But when the build script executed via the plugin, some of the envi

[workflow-plugin] Hack to unstash outside of a node block?

2015-10-30 Thread Brian Ray
The *unstash *step outside of a *node *block is illegal, because it wants a workspace to unstash to: node('planners') { // ... // do a bunch of stuff then stash the product stash( name: 'plans', includes: 'plans/*' ) } // this is unwrapped and will throw a MissingContextVariableException

Re: Running a single job multiple times against a slave pool, taking a free slave if possible before queueing the next run

2015-10-30 Thread Jim
Thank you, that looks like it's working as I want now. :-) Have Fun, Jim. On Friday, 30 October 2015 15:55:26 UTC, Eric Pyle wrote: > > I think all you need to do is check the box "Execute concurrent builds if > necessary" in the job configuration. > > Eric > > On 10/30/2015 9:59 AM, Jim wrote:

Re: Running a single job multiple times against a slave pool, taking a free slave if possible before queueing the next run

2015-10-30 Thread Eric Pyle
I think all you need to do is check the box "Execute concurrent builds if necessary" in the job configuration. Eric On 10/30/2015 9:59 AM, Jim wrote: Hi all, I've a couple of jobs that run against a pool of slaves, taking whichever slave is free at the time. The problem is, if the job is alr

Re: Running a single job multiple times against a slave pool, taking a free slave if possible before queueing the next run

2015-10-30 Thread Victor Martinez
I don't know if I understood correctly, you can use the matrix job: https://wiki.jenkins-ci.org/display/JENKINS/Matrix+Project+Plugin but it does also depend on whether other builds can use those slaves, if that job is isolated and also those slaves then use the matrix otherwise, you will proba

docker URL in Jenkins

2015-10-30 Thread Irfan Sayed
Hi All, I have configured docker client and server on same VM I am running following docker command to start the docker daemon. *docker -H tcp://0.0.0.0:2375 -H unix:///var/run/docker.sock -d &* now my query is, what docker URL i should provide if i want to connect to docke

'Bad file descriptor' after checkout from Jenkins

2015-10-30 Thread Kristian
Hey, I have a strange problem: I have downloaded the source code of a project under a Windows 7, unzipped it and committed the source code as it was into a svn repo. Then, Jenkins checked out that project to a CentOS 7 32bit slave. On that machine, I tried to start a configure script manually, bu

Running a single job multiple times against a slave pool, taking a free slave if possible before queueing the next run

2015-10-30 Thread Jim
Hi all, I've a couple of jobs that run against a pool of slaves, taking whichever slave is free at the time. The problem is, if the job is already running on a slave in the pool Jenkins queues the next run, rather than using any of the pool's free slaves. I would like Jenkins to start a new r

Re: Workflow question - children jobs as steps?

2015-10-30 Thread Nigel Magnay
Is it possible for workflow-multibranch jobs to take parameters? I have a similar requirement where I'd like a 'parent' workflow job to trigger some number of downstream child jobs, probably with something like (despite the warning in the snippet generator, I don't care to wait for the outcome or