Hi all, this is my first time coming to Jenkins pipeline builds from a long 
history of matrix builds in freestyle jobs. I am very confused by how 
Jenkins is interpreting my Jenkinsfile, and would appreciate some help. I 
am prepared to accept that I need to learn Groovy, and that perhaps the 
declarative format may not be able to do what I need, but I want to at 
least understand :)

Let me start with what I need: 
I have several applications, of different versions, and different 
dependency versions which need to be built in different environments. I 
have constructed these environments using Docker containers. In matrix 
builds, I construct a matrix of environment variables - vectors of [OS, 
ARCH, NAME, VERSION, SITE] and use those to deploy docker containers in 
which to build. So far, so good. I need Jenkins to check out the code, then 
parallelise the workflow into each of (os,arch,name,version,site) 
combination. IE, provision the relevant container, put an agent on it, then 
send the work there.

The thing I can't seem to understand is why Jenkins schedules the agents 
_inside_ docker containers instead of provisioning docker containers and 
then passing the builds off to them. The error I'm seeing is e.g. in this 
run : 
https://ci.sagrid.ac.za/blue/organizations/jenkins/gmp-pipeline/detail/master/41/pipeline


Any guidance would be greatly appreciated.
Bruce

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c9d254e6-0e64-41bf-9e26-36ec673589ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to