cc.net dynamic paramaters in publisher block

Posted by aseabridge on Stack Overflow See other posts from Stack Overflow or by aseabridge
Published on 2010-06-16T10:08:17Z Indexed on 2010/06/16 10:12 UTC
Read the original article Hit count: 273

Filed under:

I am Using CC.Net to run an .exe file after project build is complete and need to pass the project name, publish date/time and user on the command line as paramaters to the .exe. However I can't get cc.net to recognise these a dynamic properties and replace them with the correct values. Any ideas?

<publishers><exec executable="C:\MyApp.exe"></exec><buildArgs>"$[$CCNetProject]" "$[$CCNetBuildDate]" "$[$CCNetBuildTime]" "$[$CCNetUser]"</buildArgs><buildTimeoutSeconds>30</buildTimeoutSeconds></publishers>

Thanks in advance for the help.

Adam

© Stack Overflow or respective owner

Related posts about cc.net