本文介绍了立即运行Jenkins工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个非常轻量级的作业,应在触发该作业后立即执行,而不是等待一个小时才能完成当前作业.

I have a very lightweight job that should be executed immediately when it is triggered, rather than waiting an hours for current jobs to finish.

据我了解,我想要一个 flyweight 任务.它将为该任务创建一个临时执行程序.

As I understand, a flyweight task is what I want. It will create a ephemeral executor, just for that task.

我怎样才能使工作以轻量化的方式运行?

How can I make a job be run as flyweight?

推荐答案

尝试以下 FlyWeightProject插件.它是在Flyweight中运行的Freestyle类型的扩展.

Try out this FlyWeightProject Plugin. It is an extension of the Freestyle type that runs in Flyweight.

这篇关于立即运行Jenkins工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-27 11:35