If you need to use a build file then you might just have to include it with the project to get checked out with the code, then the batch script is in the project workspace.
Otherwise the slave would need the file on it locally and you can tell the job where to find it on that machine. If you have multiple slaves that need the file, it would need to be on each one. Unless I am not understanding your question correctly? ----- Original Message ----- From: "Victoria Wei Lei" <weile...@gmail.com> To: jenkinsci-users@googlegroups.com Sent: Friday, December 13, 2013 2:26:35 PM Subject: basic question ons setting up master/multiple slaves to build/test Dear All, I have just started to explore the possibility to use Jenkins as automatic build/test tool in our environment. I have done a few of experiments, have some questions. These might be very basic questions, but it seems hard to find answer just visiting Jenkins wiki. I have one window pc to serve as build pc, I would set up Jenkins master on this pc. I have multiple hardwares with QNX or Linux OS, they all have window pc as host. I want to set up these test hardwares as slaves. Build is trigger by SCM changes, it would be perfect if master can tell slaves to build the SW and deploy the SW directly to the system, start executing test cases once build is done. I have successfully set up the master and one slave, they connect properly. My build script is windows batch file. My initial question is how slave can access the build script and building the SW under slave's workspace? When enter batch command in project configuration, it can be successfully executed in slave, but if it is a batch file, where should I put this file to let slave to run? Your any input will be greatly appreciated. It will be very helpful if you can suggest any tutorial that provides detail information for a starter. Thanks so much. Victoria -- 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. For more options, visit https://groups.google.com/groups/opt_out . -- 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. For more options, visit https://groups.google.com/groups/opt_out.