Filter steps/tasks of a job via a plugin ?

13 views
Skip to first unread message

Laurent Guilmette

unread,
Nov 20, 2016, 6:26:47 AM11/20/16
to Jenkins Users
Hi All,


Jenkins is magnificent and allow to realize an enormous productivity.

Is it possible with a plugin to bypass certain task/step of a job?
 It would avoid overloading the job configuration which is sometimes already consequent ! And by the way It is better than manually update hundred of jobs !

So in a certain context for example I want to do not execute batch script, or the sonar postask, or the email forward postask, etc ....


I hope you understrand my question ! Thx a lot for reading, keep the good work.

Daniel Beck

unread,
Nov 20, 2016, 8:24:09 AM11/20/16
to jenkins...@googlegroups.com

> On 20.11.2016, at 12:26, Laurent Guilmette <laurentg...@gmail.com> wrote:
>
> Is it possible with a plugin to bypass certain task/step of a job?
> It would avoid overloading the job configuration which is sometimes already consequent ! And by the way It is better than manually update hundred of jobs !
>
> So in a certain context for example I want to do not execute batch script, or the sonar postask, or the email forward postask, etc ....

Conditional Build Step Plugin should allow you to do that based on conditions like build parameters.

JENKINS-4819 tacks the manual disabling of build steps -- unfortunately my first attempt at it didn't work out, and I haven't been able to work on it since.

FWIW Conditional Build Step also has the "conditions" Always/Never that you can use as workaround while JENKINS-4819 doesn't exist.

Laurent Guilmette

unread,
Nov 20, 2016, 11:05:04 AM11/20/16
to Jenkins Users, m...@beckweb.net
conditionnal plugin are great, but I prefer a way with a plugin I could write myself. A plugin who can filter steps of job. I have hundred of jobs, you imagine I cannot update one by one for filtering steps execute/ not execute !

Nobody already needed the same thing ?
Reply all
Reply to author
Forward
0 new messages