On Fri, Dec 13, 2013 at 2:26 PM, Victoria Wei Lei <[email protected]> wrote:
>
> 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.
Generally you would include the build/test script with the source in
the SCM so it will automatically be versioned and included in the
workspace checkout. For cross platform builds you can assign labels
to the nodes according to their types and then you have a choice of
adding separate jobs that trigger/run independently with 'restrict
where this job can run' set for the desired target, or using a matrix
or 'multiconfiguration' job that will run across a set of labels. In
the latter case the job must execute exactly the same command on each
node, so look at the xshell and groovy plugins for ways to make that
command do the right things on different operating systems.
--
Les Mikesell
[email protected]
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.