项目未显示在巡航控制仪表板中

发布于 2024-12-08 02:14:29 字数 1588 浏览 0 评论 0原文

我是持续​​集成和巡航控制的新手。但我看了几个例子,并尝试将一个项目设置为预先存在的巡航控制设置,其中有几个项目。

我确定,所有文件都指向正确,并且我修改了正确的 ccnet.config。

但是,我添加的项目没有显示在 Web 仪表板中。

这是我在 ccnet.config 中添加的项目块。 (出于安全原因删除了元素中的值,但我确信这些值都很好。)

<project>
<name></name>
<workingDirectory></workingDirectory>
<artifactDirectory></artifactDirectory>
<webURL></webURL>
<modificationDelaySeconds></modificationDelaySeconds>

<triggers>
    <intervalTrigger seconds="1200" buildCondition="IfModificationExists" />
</triggers>

<sourcecontrol type="svn">
    <executable></executable>
    <workingDirectory></workingDirectory>
    <autoGenSource>true</autoGenSource>
    <trunkUrl></trunkUrl>
    <username></username>
    <password></password>       
</sourcecontrol>
<tasks>
    <nant>
        <executable></executable>
        <baseDirectory></baseDirectory>
        <buildFile></buildFile>
        <targetList>
            <target></target>
        </targetList>
        <buildTimeoutSeconds>600</buildTimeoutSeconds>          
    </nant>
</tasks>

<publishers>
    <xmllogger logDir="" />
    <artifactcleanup cleanUpMethod="KeepLastBuilds" cleanUpValue="10" />
</publishers>
</project>

我是否遗漏了什么?修改ccnet.config后还需要做什么吗?这里的任何指导都会非常有帮助。

I'm new to continuous integration and Cruise Control. But I looked at few examples and I tried setting up a project to a pre-existing Cruise Control setup which had couple of projects in it.

I'm sure, all the files are pointed correctly and I modified the right ccnet.config.

But, the projects I added are not showing up in the web dashboard.

Here is the project block I added in the ccnet.config. (Removed the values in the elements for security reasons, but I'm sure the values are all good.)

<project>
<name></name>
<workingDirectory></workingDirectory>
<artifactDirectory></artifactDirectory>
<webURL></webURL>
<modificationDelaySeconds></modificationDelaySeconds>

<triggers>
    <intervalTrigger seconds="1200" buildCondition="IfModificationExists" />
</triggers>

<sourcecontrol type="svn">
    <executable></executable>
    <workingDirectory></workingDirectory>
    <autoGenSource>true</autoGenSource>
    <trunkUrl></trunkUrl>
    <username></username>
    <password></password>       
</sourcecontrol>
<tasks>
    <nant>
        <executable></executable>
        <baseDirectory></baseDirectory>
        <buildFile></buildFile>
        <targetList>
            <target></target>
        </targetList>
        <buildTimeoutSeconds>600</buildTimeoutSeconds>          
    </nant>
</tasks>

<publishers>
    <xmllogger logDir="" />
    <artifactcleanup cleanUpMethod="KeepLastBuilds" cleanUpValue="10" />
</publishers>
</project>

Am I missing something? Do I have to do anything else after modifying the ccnet.config? Any guidance from here would be really helpful.

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

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

发布评论

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

评论(4

许一世地老天荒 2024-12-15 02:14:29
  • project标签中添加项目名称
  • 检查使用{CCNET_path}\serverCCValidator.exe配置文件>
  • 如果没有出现任何内容,请重新启动 ccnet 服务/批处理
  • Add a project name in project tag
  • Check the configuration file with the application CCValidator.exe in {CCNET_path}\server
  • If nothing appears, restart your ccnet service/batch
谢绝鈎搭 2024-12-15 02:14:29

@Aswin R:关于 artifactcleanup 标签的问题,您错误地拼写了 cleanUpMethod 类型:KeepLastXBuilds (忘记了名称中的 X)。

参考:http://www.cruisecontrolnet.org/projects/ccnet/wiki/Artifact_Cleanup_Publisher

@Aswin R : About the issue with artifactcleanup tag, you mispell the cleanUpMethod type : KeepLastXBuilds (forgot the X in the name).

Reference : http://www.cruisecontrolnet.org/projects/ccnet/wiki/Artifact_Cleanup_Publisher

殊姿 2024-12-15 02:14:29

我的问题摘要:

运行 CCValidator 时出现错误。

出现错误

 <artifactcleanup cleanUpMethod="KeepLastXBuilds" cleanUpValue="10" />

,指出无法将字符串转换为 ThoughtWorks CCnet 数据类型。

删除该元素并且它起作用了!

编辑:KeepLastXBuilds拼写为KeepLastBuilds

感谢您指出 TridenT

Summary of my issue:

There was an error when I ran CCValidator.

There error was with the

 <artifactcleanup cleanUpMethod="KeepLastXBuilds" cleanUpValue="10" />

which said, Cannot convert String to ThoughtWorks CCnet datatype.

Removed that element and it worked!

EDIT: Mispelled KeepLastXBuilds as KeepLastBuilds.

Thanks for pointing it out TridenT

瘫痪情歌 2024-12-15 02:14:29

您可以在 标签中添加这样的内容吗

<project name="ProjectName">

Can you add like this in the <project> tag

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