Hudson, is it possible to make a plugin configuration non-visible depending on job type?
Posted
by Haju
on Stack Overflow
See other posts from Stack Overflow
or by Haju
Published on 2010-06-17T06:19:14Z
Indexed on
2010/06/17
6:23 UTC
Read the original article
Hit count: 183
hudson
With the plugin (SCM plugin) I'm working on the problem is that it doesn't work in any other job/project type than Freestyle-project. I'd like to hide the plugin configuration from project configuration page on other job/project types (maven, matrix etc), because it seems to distract people. I wonder if there's a "right" way of doing this, or any way at all?
Currently the project type is checked in checkout-method as a first thing, and if it doesn't match, the build is failed instantly, but this is not completely satisfactory solution, since it causes a bit more work to the end user.
© Stack Overflow or respective owner