开发者

cc.net dynamic parameters in publisher block

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 parameters to the .exe. However I can't get cc.net to recognise these a dynamic properties and replace them with the correct values.

<publishers><exec executable="C:\MyApp.exe"></exec><buildArgs>"$[$CCNetProject]" "$[$CCNetBuildDate]" "$[$CCNetBuildTime]" "$[$CCNetUser开发者_开发知识库]"</buildArgs><buildTimeoutSeconds>30</buildTimeoutSeconds></publishers>


The correct syntax for properties in ccnet config is $[CCNetProject]


I believe the correct syntax for properties in ccnet config is:

$[CCNetProject]

Rather than:

$[$CCNetProject]
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜