问题描述
我正在使用最新的CruiseControl.Net 1.5.7256.1。
我正在尝试使用 sourcecontrol CCNetWorkingDirectory / i>块,项目无法识别此参数。
I'm working with the latest CruiseControl.Net 1.5.7256.1.
I'm trying to use one of the system parameters, CCNetWorkingDirectory under sourcecontrol block and the project failed to recognize this parameter.
<sourcecontrol type="svn">
<trunkUrl>https://padev/svn/physical/Source</trunkUrl>
<workingDirectory>$[CCNetWorkingDirectory]\SVN\Source</workingDirectory>
<username>ccnet</username>
<password>hidden</password>
</sourcecontrol>
我也尝试将其作为$ CCNetWorkingDirectory,$(CCNetWorkingDirectory),但这些选项都不起作用。
I also tried it as $CCNetWorkingDirectory, $(CCNetWorkingDirectory), Non of these option worked.
谢谢
推荐答案
您被困了。我认为几乎所有以CCNET开头的人都试图在CCNET配置中访问 CCNetWorkingDirectory
。这不可能。在类似的问题上找到我的答案
You got trapped. I think almost anybody who starts with CCNET tries to access CCNetWorkingDirectory
inside CCNET configuration. This is not possible. Find my answer on a similar question here.
这篇关于CruiseControl.Net CCNetWorkingDirectory参数问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!