项目未显示在巡航控制仪表板中
我是持续集成和巡航控制的新手。但我看了几个例子,并尝试将一个项目设置为预先存在的巡航控制设置,其中有几个项目。
我确定,所有文件都指向正确,并且我修改了正确的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
project
标签中添加项目名称{CCNET_path}\serverCCValidator.exe
配置文件>project
tagCCValidator.exe
in{CCNET_path}\server
@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
我的问题摘要:
运行 CCValidator 时出现错误。
出现错误
,指出无法将字符串转换为 ThoughtWorks CCnet 数据类型。
删除该元素并且它起作用了!
编辑:将KeepLastXBuilds拼写为KeepLastBuilds。
感谢您指出 TridenT
Summary of my issue:
There was an error when I ran CCValidator.
There error was with the
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
您可以在
标签中添加这样的内容吗Can you add like this in the
<project>
tag