jinkins常用插件(Jinkins common plug-ins)

Build Pipeline Plugin:灰度发布

将多个job进行串联,从而实现分级发布的能力。每个job完成之后,可以进行效果检查,通知关联系统等等功能,从而实现了一套较为完整的全流程自动变更机制

Conditional BuildStep:策略判断

对于任务执行增加的很多触发条件判断,从而让任务执行变得更加智能

Build timeout plugin:超时控制

设置Job运行的最大耗时,避免异常后无人介入导致Job持续运行占用资源,最小超时时间为3min

Cron Column Plugin:定期执行

通过定时任务例行的运行一些job,实现例行的巡检,流量切换,预案演练,重启等操作

HTTP Request Plugin:跨平台调用

在构建前后可以通过该插件以http形式调用各种api接口实现和内部系统的联动

Parameterized Trigger plugin:参数传递

触发下一个job时,将上一个job的参数传递下去,利用该特性,也可以将执行的Slave作为参数进行传递,从而解决在公有云多租户场景下JOB通用的问题。通过build on the same node即可解决所有JOB都在特定的slave上执行。需要注意的是,current build parameters仅仅传递该JOB编译用到的参数,而非上一个JOB传递下来的所有参数,在多级传递中需要注意。

————————

Build Pipeline Plugin:灰度发布

Multiple jobs are concatenated to realize the ability of hierarchical publishing. After each job is completed, you can check the effect, notify the associated system and other functions, so as to realize a relatively complete whole process automatic change mechanism

Conditional BuildStep:策略判断

Many trigger condition judgments are added for task execution, which makes task execution more intelligent

Build timeout plugin:超时控制

Set the maximum time-consuming for job operation to avoid that no one intervenes after an exception, resulting in continuous job operation occupying resources. The minimum timeout is 3min

Cron Column Plugin:定期执行

Routine patrol inspection, flow switching, plan drill, restart and other operations are realized by running some jobs regularly

HTTP Request Plugin:跨平台调用

Before and after construction, the plug-in can call various API interfaces in the form of HTTP to realize the linkage with the internal system

Parameterized Trigger plugin:参数传递

When the next job is triggered, pass the parameters of the previous job. With this feature, you can also pass the executed slave as a parameter, so as to solve the problem of common jobs in the public cloud multi tenant scenario. By building on the same node, all jobs are executed on a specific slave. It should be noted that the current build parameters only pass the parameters used in the compilation of the job, not all the parameters passed down from the previous job. It should be noted in multi-level transfer.