CruiseControl.NET 具有多个 SourceSafe 数据库

发布于 2024-08-17 15:54:17 字数 903 浏览 5 评论 0原文

我正在尝试配置 CruiseControl.NET,但遇到了 SourceSafe 的问题。当 ccnet 构建时,我收到错误:

找不到 VSS 数据库 (srcsafe.ini)。 将 SSDIR 环境变量设置为 VSS 的 srcsafe.ini 路径 数据库

我知道设置 SSDIR 环境变量可以解决这个迫在眉睫的问题,但是我认为这不是必需的,因为我已在 ccnet.config 文件中指定了它 在我看来,设置环境变量将限制 ccnet 只对所有项目使用一个 SourceSafe 数据库,

我将 ccnet 作为 Windows 服务运行,并使用与登录计算机相同的用户名和密码。

以下是我的 ccnet.config 文件中的源代码控制部分:

    <sourcecontrol type="vss">
        <ssdir>S:\DotNet\</ssdir>
        <project>$/Web/Silverlight/SilverlightFramework</project>
        <username>ccnet</username>
        <password></password>
        <autoGetSource>true</autoGetSource>
        <workingDirectory>D:\Build\Projects\SilverlightFramework\WorkingDirectory</workingDirectory>
    </sourcecontrol>

预先感谢您

I'm trying to configure CruiseControl.NET and have come across an issue with SourceSafe. When ccnet builds I am getting the error:

No VSS database (srcsafe.ini) found.
Set the SSDIR environment variable to
the path of srcsafe.ini for your VSS
database

I understand that setting the SSDIR environment variable would solve this immediate problem, however I don't believe that this should be necessary as I have specified it in my ccnet.config file. In my mind, setting the environment variable would limit ccnet to only ever use one SourceSafe database for all projects

I am running ccnet as a windows service and is using the same username and password that I would use to log onto the machine.

Below is the sourcecontrol section from my ccnet.config file:

    <sourcecontrol type="vss">
        <ssdir>S:\DotNet\</ssdir>
        <project>$/Web/Silverlight/SilverlightFramework</project>
        <username>ccnet</username>
        <password></password>
        <autoGetSource>true</autoGetSource>
        <workingDirectory>D:\Build\Projects\SilverlightFramework\WorkingDirectory</workingDirectory>
    </sourcecontrol>

Thank you in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

卸妝后依然美 2024-08-24 15:54:17

我运行 ccnet 服务的用户似乎没有指定 ssdir 位置的读取权限。

这有点误导,因为我可以使用相同用户名下的映射目录 S:\ 访问该位置,但这可能是由于 Windows 在映射驱动器时存储了缓存的凭据。

It seems that the user I was running the ccnet service as did not have read access to the ssdir location specified.

This was a bit misleading because I could get to the location using the mapped directory S:\ under the same username but presumably this was due to windows having stored cached credentials from when the drive was mapped.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文