-
Bug
-
Resolution: Not A Defect
-
Major
-
None
Have a strange behaviour with our builds.
Have a test-setup with a master and 2 slaves (byggslav labelled BS-1 and byggslav-2 labelled BS-2)
Have set up a very simple MultiConfiguration job. The only thing the job does is to pull a git repo to the slave's workspace.
Have also setup the Configuration Matrix to execute on label "BS-1" only.
Despite that, it tends to pull the repo to both slaves but in different locations....
Started by user Me
Building remotely on byggslav-2 (BS-2) in workspace /home/bb2/workspace/MultiConfigJob
Cloning the remote Git repository
Cloning repository ssh://git@test.mysite.com/testing.git
> git init /home/bb2/workspace/MultiConfigJob # timeout=10
Fetching upstream changes from ssh://git@test.mysite.com/testing.git
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress ssh://git@test.mysite.com/testing.git +refs/heads/:refs/remotes/origin/
> git config remote.origin.url ssh://git@test.mysite.com/testing.git # timeout=10
> git config --add remote.origin.fetch +refs/heads/:refs/remotes/origin/ # timeout=10
> git config remote.origin.url ssh://git@test.mysite.com/testing.git # timeout=10
Fetching upstream changes from ssh://git@test.mysite.com/testing.git
> git -c core.askpass=true fetch --tags --progress ssh://git@test.mysite.com/testing.git +refs/heads/:refs/remotes/origin/
> git rev-parse refs/remotes/origin/master^
> git rev-parse refs/remotes/origin/origin/master^{commit}
- timeout=10
Checking out Revision c650834025c6866b4fd244458b20a10e64e262cf (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f c650834025c6866b4fd244458b20a10e64e262cf
> git rev-list c650834025c6866b4fd244458b20a10e64e262cf # timeout=10
Triggering MultiConfigJob » BS-1
MultiConfigJob » BS-1 completed with result SUCCESS
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Finished: SUCCESS
REPO found here:
ls -ltr bb1/workspace/MultiConfigJob/label/BS-1/
total 28
rw-rr-. 1 bb1 jenkins 114 Jun 9 16:53 nyfil.txt
rw-rr-. 1 bb1 jenkins 0 Jun 9 16:53 Jenkinsfile
rw-rr-. 1 bb1 jenkins 34 Jun 9 16:53 d.txt
rw-rr-. 1 bb1 jenkins 34 Jun 9 16:53 c.txt
rw-rr-. 1 bb1 jenkins 65 Jun 9 16:53 crb.txt
rw-rr-. 1 bb1 jenkins 170 Jun 9 16:53 cra.txt
rw-rr-. 1 bb1 jenkins 29 Jun 9 16:53 b.txt
rw-rr-. 1 bb1 jenkins 87 Jun 9 16:53 a.txt
and here:
ls -ltr bb2/workspace/MultiConfigJob/
total 28
rw-rr-. 1 bb2 jenkins 114 Jun 9 16:53 nyfil.txt
rw-rr-. 1 bb2 jenkins 0 Jun 9 16:53 Jenkinsfile
rw-rr-. 1 bb2 jenkins 34 Jun 9 16:53 d.txt
rw-rr-. 1 bb2 jenkins 34 Jun 9 16:53 c.txt
rw-rr-. 1 bb2 jenkins 65 Jun 9 16:53 crb.txt
rw-rr-. 1 bb2 jenkins 170 Jun 9 16:53 cra.txt
rw-rr-. 1 bb2 jenkins 29 Jun 9 16:53 b.txt
rw-rr-. 1 bb2 jenkins 87 Jun 9 16:53 a.txt