If you want to select different build steps dependant on node/axis try looking at the Conditional BuildStep Plugin as that should let you use whichever buildstep you like dependant on finding a condition you can check.
The AXIS items should be available as ENV for the conditions to check, though haven't tested this. https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin Chris On Friday, 1 February 2013 23:09:51 UTC, LesMikesell wrote: > > On Fri, Feb 1, 2013 at 4:33 PM, zw <[email protected] <javascript:>> > 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 > [email protected] <javascript:> > -- 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.
