Figured it out.
Click the advanced button in the Invoke Ant step
set Properties to arguments=$argument1 $argument2...
On Tuesday, May 20, 2014 1:44:50 PM UTC-6, Charlie Olmstead wrote:
>
> Hello,
> I am using Jenkins to execute multiple ruby scripts. I want to use 1
> generic ant build file for all of the scripts. Something like:
>
> <exec dir="${program_home}" executable="ruby" failonerror="false"
> resultproperty="ReturnCode">
> <arg line="${program_name} ${arguments}"/>
> </exec>
>
> Each script takes different arguments so I need a way to combine the
> arguments set in the Jenkins GUI into the 'arguments' variable to pass to
> the ruby script.
>
> Is there a way to do this? Perhaps a Build Action before the 'Invoke Ant'
> build action? Plugins?
>
> Thanks,
> Charlie
>
--
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/d/optout.