如何在 Hudson master 的作业中运行 2 个脚本?

发布于 2024-12-13 05:51:28 字数 136 浏览 3 评论 0原文

我已经实现了 Hudson 主从作业配置,并且工作正常。其中我必须在 hudson master 的作业中运行 2 个脚本。你能帮我看看是否有可能运行两个脚本吗?这两个脚本都是依赖项,第二个脚本应该在第一个脚本执行后运行。

预先感谢 - 斯里

I have implemented Hudson master, slave job configuration and it is working fine. In which i have to run 2 scripts in a job from hudson master. can you help me is there possibility to run 2 scripts? as well both scripts are dependencies like the second should run after the first script executed.

Thanks in advance - sri

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

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

发布评论

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

评论(1

月下凄凉 2024-12-20 05:51:28

例如,您所需要做的就是将该脚本作为构建步骤包含在当前构建中。

  1. 拉下源代码
  2. 构建它
  3. 运行脚本,作为构建步骤的一部分。

此选项仅适用于自由样式作业。

在此处输入图像描述

这是脚本所在的位置或要执行的脚本的路径。

祝你好运。

All you need to do is include the script as a build step in your current build for example.

  1. Pull down source
  2. Build it
  3. Run the script, as part of the build step.

This option is only available for Free Style Jobs.

enter image description here

Here is where the scripts would go or path to script to execute.

Goodluck.

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