【问题标题】:At the time of hudson build I have to remove file and rename another file在 hudson 构建时,我必须删除文件并重命名另一个文件
【发布时间】:2014-08-15 14:35:48
【问题描述】:

我对使用 hudson 知之甚少,任何人都可以帮助我解决以下问题。

在我的项目中,我们使用 2 个服务器 1) Tomcat 2) WebSphere。

Tomcat 是我们用于开发的本地服务器,WebSphere 是生产服务器。对于 WebSphere,我们使用 Hudson 创建战争文件。我们为本地和哈德逊使用通用 SVN 存储库。问题是我们必须在 tomcat 和 websphere 中使用不同的 web.xml 文件。 我们为本地创建了 web.xml,为 websphere 创建了 websphereWeb.xml。

在进行 Hudson 构建时,我们必须删除 web.xml 并将 websphereWeb.xml 重命名为 web.xml。

谢谢,

【问题讨论】:

    标签: hudson


    【解决方案1】:

    您必须编写脚本(Bash、Batch、Ant 或 Hudson 可以执行的任何其他语言)来进行文件操作。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-04-27
      • 1970-01-01
      • 2017-08-08
      • 1970-01-01
      • 2016-01-11
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多