Re: repeatableProperty in Jenkins Global Configuration

2019-11-12 Thread Jesse Glick
On Tue, Nov 12, 2019 at 5:53 PM Ullrich Hafner wrote: > if I remove the last element in the UI then the empty list ist not saved. More precisely, the data bound setter […] > Is not called if I remove all elements in the UI (it is called for 1,…,n elements). This is a well-known limitation in

repeatableProperty in Jenkins Global Configuration

2019-11-12 Thread Ullrich Hafner
I have a repeatableProperty in Jenkins Global Configuration page (see https://github.com/jenkinsci/warnings-ng-plugin/pull/266 <https://github.com/jenkinsci/warnings-ng-plugin/pull/266>). Expanded snippet: (And a descr

Re: Jenkins global configuration

2019-10-02 Thread Raihaan Shouhell
That helped a ton, figured out that it was me not marking the setters and getters public. Thanks Jesse On Tuesday, 1 October 2019 20:44:49 UTC+8, Jesse Glick wrote: > > On Tue, Oct 1, 2019 at 5:06 AM Raihaan Shouhell > > wrote: > > I've been trying to implement a global configuration > > Try

Re: Jenkins global configuration

2019-10-01 Thread Jesse Glick
On Tue, Oct 1, 2019 at 5:06 AM Raihaan Shouhell wrote: > I've been trying to implement a global configuration Try using the sample in https://github.com/jenkinsci/archetypes which includes a functional test that should be helpful. -- You received this message because you are subscribed to the

Jenkins global configuration

2019-10-01 Thread Raihaan Shouhell
Hi all, I've been trying to implement a global configuration but have an issue where only the username field is properly reflected and saved when I use the configuration UI. Other plugins seem to do similar things. Here is a repo with an MRE of what I get