I have a problem with my Configuration Matrix using Axis builds.

My jenkins have 3 different build nodes:
Development-opensuse-x86_64
Development-sles-x86
Development-sles-x86_64

I have configured one Multi-configuration jenkins job to build on each of 
these environments using Axis.

*Parent build job console output #1:*
Building remotely on Development-sles-x86_64 in workspace 
/home/build/jenkins/workspace/myProject
Cloning the remote Git repository
Cloning repository ssh://g...@git.company.com/myProject.git
 > git init /home/build/jenkins/workspace/myProject # timeout=10
Fetching upstream changes from ssh://g...@git.company.com/myProject.git
 > git --version # timeout=10
 > git fetch --tags --progress ssh://g...@git.company.com/myProject.git 
+refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url ssh://g...@git.company.com/myProject.git # 
timeout=10
 > git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
timeout=10
 > git config remote.origin.url ssh://g...@git.company.com/myProject.git # 
timeout=10
Fetching upstream changes from ssh://g...@git.company.com/myProject.git
 > git fetch --tags --progress ssh://g...@git.company.com/myProject.git 
+refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 158a08e3d7b1f3ff2b0804999ce0a1aead798226 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 158a08e3d7b1f3ff2b0804999ce0a1aead798226
First time build. Skipping changelog.
Triggering myProject » Development-sles-x86_64
myProject » Development-sles-x86_64 completed with result FAILURE

*Development-sles-x86_64 console output #1:*
Building remotely on Development-sles-x86_64 in workspace 
/Development-sles-x86_64
java.io.IOException: Failed to mkdirs: /Development-sles-x86_64

Why it is not using the default workspace, /home/user/jenkins/workspace is 
beyond me. Still I could see that it does check out the code from SCM into 
the default workspace directory on the slave.


I then tried to create the directory /Development-sles-x86_64 on each 
environments and tried to build again.

*Parent build job console output #2:*
Building remotely on Development-sles-x86_64 in workspace 
/home/build/jenkins/workspace/myProject
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url ssh://g...@git.company.com/myProject.git # 
timeout=10
Fetching upstream changes from ssh://g...@git.company.com/myProject.git
 > git --version # timeout=10
 > git fetch --tags --progress ssh://g...@git.company.com/myProject.git 
+refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 158a08e3d7b1f3ff2b0804999ce0a1aead798276 
(refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 158a08e3d7b1f3ff2b0804999ce0a1aead798276
 > git rev-list 158a08e3d7b1f3ff2b0804999ce0a1aead798276 # timeout=10
Triggering myProject » Development-sles-x86_64
myProject » Development-sles-x86_64 completed with result FAILURE

*Development-sles-x86_64 console output #2*:
Building remotely on Development-sles-x86_64 in workspace 
/Development-sles-x86_64
Cloning the remote Git repository
Cloning repository 
ssh://g...@git.company.com/myProject/=Development-sles-x86_64.git
 > git init /Development-sles-x86_64 # timeout=10
ERROR: Error cloning remote repo 'origin'
ERROR: Error cloning remote repo 'origin'

The slave node name should not be anywhere near the SCM URL, and the 
workspace on the axis slave should not be the name of the slave.
Am I missing some configuration?

<https://lh3.googleusercontent.com/-KBB6bGaPwRw/VL_LbksJ7NI/AAAAAAAACpI/9HQ8_ED90TQ/s1600/jenkinsMatrix.png>

-- 
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/417f448b-4e1b-4acc-afaa-ac70078e60e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to