[REQUEST] Make Jenkins.instance available in matrix combination filter

11 views
Skip to first unread message

Kinkie

unread,
Nov 10, 2015, 5:09:48 AM11/10/15
to jenkinsci-users
Hello,
I've found variations of this to be relatively FAQ.
Would it be possible to make Jenkins' instance available to Matrix
combination filters? This would unlock quite a bit of potential which
is currently not really tapped.

From my limited understading, adding

binding.setVariable("Jenkins", Jenkins.instance);
at
matrix-project-plugin/src/main/java/hudson/matrix/FilterScript.java:81
should do the trick..

Is anyone aware of any reason NOT to do this?

Thanks

--
Francesco
Reply all
Reply to author
Forward
0 new messages