[JIRA] (JENKINS-54662) hudson.model.UsageStatistics not compatible with CasC plugin

1 view
Skip to first unread message

d3@digitalasset.com (JIRA)

unread,
Nov 15, 2018, 4:25:01 PM11/15/18
to jenkinsc...@googlegroups.com
Daniel Garzon created an issue
 
Jenkins / Improvement JENKINS-54662
hudson.model.UsageStatistics not compatible with CasC plugin
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: core
Created: 2018-11-15 21:24
Priority: Minor Minor
Reporter: Daniel Garzon

When trying to configure Jenkins through CASC plugin, one desired feature is to enable / disable "Usage Statistics". Unfortunately, the hudson.model.UsageStatistics descriptor is lacking a @DataBoundSetter and just relies on the configure function to apply the appropriate configuration to the Jenkins instance.

According to: https://github.com/jenkinsci/configuration-as-code-plugin/blob/master/docs/REQUIREMENTS.md, we need a boolean field with a getter and setter annotated with @DataBoundSetter so that we can configure it from within the CASC plugin. We would also have to modify the configure function according to the requirements of the CASC plugin, which should follow best-practices.

I would like to contribute with this change if one of the Core Developers agree.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

o.v.nenashev@gmail.com (JIRA)

unread,
Nov 16, 2018, 4:05:02 PM11/16/18
to jenkinsc...@googlegroups.com
Oleg Nenashev started work on Improvement JENKINS-54662
 
Change By: Oleg Nenashev
Status: Open In Progress

o.v.nenashev@gmail.com (JIRA)

unread,
Nov 16, 2018, 4:05:03 PM11/16/18
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Aug 19, 2019, 1:02:02 AM8/19/19
to jenkinsc...@googlegroups.com

o.v.nenashev@gmail.com (JIRA)

unread,
Aug 19, 2019, 1:03:03 AM8/19/19
to jenkinsc...@googlegroups.com

mail@torstenwalter.de (JIRA)

unread,
Sep 8, 2019, 7:43:03 PM9/8/19
to jenkinsc...@googlegroups.com
Torsten Walter commented on Improvement JENKINS-54662
 
Re: hudson.model.UsageStatistics not compatible with CasC plugin

Oleg Nenashev Any update on this? The linked PR was closed without being merged.

o.v.nenashev@gmail.com (JIRA)

unread,
Sep 16, 2019, 9:51:02 AM9/16/19
to jenkinsc...@googlegroups.com
Oleg Nenashev updated an issue
Change By: Oleg Nenashev
Labels: jcasc-compatibility stalled-pr
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

o.v.nenashev@gmail.com (JIRA)

unread,
Sep 16, 2019, 9:51:03 AM9/16/19
to jenkinsc...@googlegroups.com
Oleg Nenashev stopped work on Improvement JENKINS-54662
 
Change By: Oleg Nenashev
Status: In Progress Open

o.v.nenashev@gmail.com (JIRA)

unread,
Sep 16, 2019, 9:52:02 AM9/16/19
to jenkinsc...@googlegroups.com

timjacomb1@gmail.com (JIRA)

unread,
Mar 6, 2020, 5:09:04 PM3/6/20
to jenkinsc...@googlegroups.com
Tim Jacomb started work on Improvement JENKINS-54662
 
Change By: Tim Jacomb
Status: Open In Progress
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

timjacomb1@gmail.com (JIRA)

unread,
Mar 6, 2020, 5:09:05 PM3/6/20
to jenkinsc...@googlegroups.com

timjacomb1@gmail.com (JIRA)

unread,
Mar 6, 2020, 5:09:05 PM3/6/20
to jenkinsc...@googlegroups.com

timjacomb1@gmail.com (JIRA)

unread,
Mar 6, 2020, 5:09:07 PM3/6/20
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Mar 16, 2020, 6:23:03 AM3/16/20
to jenkinsc...@googlegroups.com
Change By: Daniel Beck
Status: In Review Resolved
Resolution: Fixed
Released As: 2.226
Reply all
Reply to author
Forward
0 new messages