From: Erez N. <ere...@gm...> - 2008-05-29 07:08:18
|
Hi, Using CC 2.7.1 and Linux. I have a requirement to pass the current build label to a shell script with exec plugin. We use DefaultLabelIncrementer first, and then I need to pass the generated label to exec plugin. In my config file, I have: For label override.- <plugin name="labelincrementer" defaultLabel="${build.label}" preBuildIncrementer="true" separator="."> </plugin> Exec plugin - <exec command="/usr/local/bin/bash" args="${cruise.home}/my-script.sh ${label}" workingdir="${xyz.dir}" timeout="1000" /> If I replace ${label} with static value or a property defined in my config file, things works fine. How can I use the label of a build in exec plugin? Thanks for any help, Erez. |