How does jenkins locate to the files in slave?

16 views
Skip to first unread message

居飞

unread,
Oct 25, 2017, 5:04:20 AM10/25/17
to Jenkins Users
Hi:
    I have a Jenkins network for out Test Automation. In this network, I installed a Jenkins Master, and then add 5 slave node. The master and all the slaves are linux systems.  All the slaves has same lable, such as "cpk"

   I configured a job, and I specified it running on "cpk".  So when the job is running, sometime, it will run on slave 1, and sometime it will run on slave 2. That is exactly what I wanted.

   But my problems is: I don't know how jenkins  locate to the files in slave, that means: I found some url from jenkins to slave files is available, but some others are not! I wish the jenkins to locate to the right files on different slaves.

   I have checked the jenkins and found that, for each build, there is a build.xml, in the build.xml, it contains the <buildon> and <workspace>, so I think the Jenkins should have enough information to locate the right file.


Thanks in advanced.

Reply all
Reply to author
Forward
0 new messages