ant 部署和 hudson ci 的文件完整性

发布于 2025-01-04 01:05:14 字数 105 浏览 3 评论 0原文

我只是想问一下ant部署后如何检查文件结构及其权限。我想将它与 Hudson CI 集成。我正在考虑先调用ant部署,然后在linux上使用rsync命令来检查文件完整性。这是最好的方法吗?谢谢!

I just like to ask how I can check the file structure and their permission after ant deployment. I want to integrate it with Hudson CI. I am thinking of calling the ant deployment first then use rsync command on linux to check the file integrity. Is this the best way to do this? Thanks!

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

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

发布评论

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

评论(1

安穩 2025-01-11 01:05:14

您是说您想使用 ANT 从 Hudson 部署文件,然后调用 rsync 吗? (如果 rsync 报告没有差异,则文件一定是好的?)

我的想法:

  • 为什么不首先使用 rsync 进行部署?
  • 检查文件完整性的更传统方法是使用文件校验和。计算远程系统上的校验和,并将其与 Jenkins 上的本地校验和进行比较。

Are you saying you'd like to deploy the file from Hudson using ANT and then subsequently call rsync? (If rsync reports no difference, the file must be good?)

My thoughts:

  • Why not use rsync to do the deployment in the first place?
  • A more traditional way to check file integrity is to use a file checksum. Calculate the checksum on the remote system and compare that to the local checksum on Jenkins.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文