cgf
cgf

Reputation: 3509

Skip job in a multi-config job in Jenkins

I would like to know if there is a way or a plugin to skip a specific job from within multi-config job.

So let's assume that I have an array of 2 platforms by 2 OSes:

O | O
------
O | O

and usually all of them will run.

However, I would like to provide a parameter to the multi-config job so that I can skip one of them and only run the others :

O | X
------
O | O

Is that possible?

Upvotes: 0

Views: 333

Answers (1)

Fabrice31
Fabrice31

Reputation: 760

When you add axis, you can check "Filter combinaisons" in which you can add regular expression to skip or not test. Example :

!(label=="linux" && compiler=="cc")

Block test with params linux and cc.

Upvotes: 3

Related Questions