Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-54662

hudson.model.UsageStatistics not compatible with CasC plugin

    XMLWordPrintable

Details

    • 2.226

    Description

      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.

      Attachments

        Activity

          dgarzon Daniel Garzon created issue -
          oleg_nenashev Oleg Nenashev made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          oleg_nenashev Oleg Nenashev made changes -
          Labels jca
          oleg_nenashev Oleg Nenashev made changes -
          Labels jca jcasc-compatibility
          oleg_nenashev Oleg Nenashev made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          oleg_nenashev Oleg Nenashev made changes -
          Labels jcasc-compatibility jcasc-compatibility stalled-pr
          timja Tim Jacomb made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          timja Tim Jacomb made changes -
          Status In Progress [ 3 ] In Review [ 10005 ]
          timja Tim Jacomb made changes -
          Assignee Tim Jacomb [ timja ]
          danielbeck Daniel Beck made changes -
          Released As 2.226
          Resolution Fixed [ 1 ]
          Status In Review [ 10005 ] Resolved [ 5 ]

          People

            timja Tim Jacomb
            dgarzon Daniel Garzon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: