Jenkins触发器--在其他项目执行后构建

前言:

jenkins中有多种触发器可用,可以方便的控制构建的启动

这里简单介绍下项目后构建的配置方法

1. 解释:

Build after other projects are built

Set up a trigger so that when some other projects finish building, a new build is scheduled for this project. This is convenient for running an extensive test after a build is complete, for example. This configuration complements the "Build other projects" section in the "Post-build Actions" of an upstream project, but is preferable when you want to configure the downstream project.

设置一个触发器,当其他项目完成构建后,会为该项目安排一个新的构建。例如,这对于在构建完成后运行全面测试非常方便。

此配置与上游项目的“构建后操作”部分中的“构建其他项目”相辅相成,但在需要配置下游项目时更为优选。

2. 配置项目后构建的触发器的方法

方法 1: 使用 Upstream/Downstream 配置

  1. 设置触发关系

    • 在目标
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值