On Fri, Feb 1, 2013 at 4:33 PM, zw <mpc8...@gmail.com> wrote:
>
> Thanks for responding.
> We don't have a build script for this project.
> We have 1 .sh for Linux and 1 .ps1 script for Windows.
> It looks there isnt a way to select a Build step based on our Platform label
> configured on Slave axis.

If you can make a 1.bat file to execute on windows and rename 1.sh to
just 1 for linux, you can use the Xshell plugin to run "1' as your
build step and it will work in both environments because windows will
automatically look for the .bat extension.   If you need something
more complicated than that you can use the groovy plugin to make
something that will start on either platform and then do appropriate
things in either environment.

-- 
   Les Mikesell
    lesmikes...@gmail.com

-- 
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.


Reply via email to