I've solved the problem!! I put 2 times "@Extension" in the main class:
- @Extension public static final DescriptorImpl DESCRIPTOR = new DescriptorImpl(); - @Extension public static final class DescriptorImpl .... So was enough remove one. Thanks anyway for the interest. 2012/7/9 simomex90 <[email protected]> > Sorry but the source code is not available. > I can give you some info: when i save a job configuration, in the xml > file, where the form's data are saved, I see a mix of the 2 configuration > form; for example, in the first an optionalblock is false, in the second > the same is true, for the plugin that optionalblock is true even if the > second form is disabled (not selected). > So, I think that is an issue in the .jelly files. I add some external > dependencies but i don't think that are not responsible because they have > nothing to do whit the graphic part. > > 2012/7/7 Gavin Davies <[email protected]> > >> Hi, is your source code available somewhere so I can look at the problem? >> >> >> On 7 July 2012 08:54, SimoneMex <[email protected]> wrote: >> >>> Hi guys, >>> I just started to write plugins for Jenkins but now I have this >>> problem: after I installed the .hpi file, in a Job configuration and in the >>> global configuration the plugin's form appears twice. >>> How is it possible?? >>> >> >> >
