使用nant构建存档并将其显示在cruisecontrol.net包列表中
我不确定这是否可行,但目前我正在使用带有 nAnt 脚本的 CruiseControl.net 构建服务器来处理所有构建、测试和打包。我让 nAnt 操作一些文件并将它们存档。有没有办法显示 nAnt 脚本在 CruiseControl.net 包列表中生成的 zip 文件?我正在使用 ccnet 1.5 和 nAnt 0.91 alpha2。
谢谢。
I'm not sure if this is possible, but currently I am using a CruiseControl.net build server with a nAnt script to handle all of the building, testing, and packaging. I have nAnt manipulate some files and archive them. Is there a way to display that zip file that the nAnt script generated in the CruiseControl.net Package List? I am using ccnet 1.5 and nAnt 0.91 alpha2.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
经过大量研究,我得出这样的结论:
可能可以创建包并将所需的文件放入文件夹中,但您必须修改一些统计文件之类的,但我放弃了,没有人对此做出回应。
After much research, I have come to this conclusion:
It might be possible to create the package and drop the required files in the folder, but you will have to modify a couple of the statistic files and what not, but i gave up and no one has responded to this.
我这样做是因为我对 ccnet 的软件包发布者不满意。首先你需要欺骗 ccnet 创建一个虚拟包;该包将在 [ArtifactDirectory]\[CCNetLabel] 中创建。然后运行一个 nant 脚本来替换包并更新包 xml。
ccnet config:
nant:
最后一部分确保包大小在 PackageList 网页中正确显示。
I did this because I was not happy with ccnet's package publisher. First you need to trick ccnet into creating a dummy package; the package will be created in [ArtifactDirectory]\[CCNetLabel]. Then run a nant script which replaces the package and updates the package xml.
ccnet config:
nant:
The last part ensures the package size is displayed properly in the PackageList web page.