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

Jenkins#getInstallState should not be restricted

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:
    • Released As:
      Jenkins 2.136

      Description

      Jenkins#getInstallState and Jenkins#setInstallState are @Restricted however they are part of a public API/ExtensionPoint (see InstallState).

      This is causing troubles on extensions which need to read/write this field. Actually, some extensions of that API live in core and they are using the restricted ones, why external extensions would not be able to use it?

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Released in Jenkins 2.136. IIUC we cannot backport the change since it modifies the API. Antonio Muñiz is it fine with you?

             

            Show
            oleg_nenashev Oleg Nenashev added a comment - Released in Jenkins 2.136. IIUC we cannot backport the change since it modifies the API. Antonio Muñiz is it fine with you?  
            Hide
            amuniz Antonio Muñiz added a comment -

            Yes, it's ok. However this is not really a breaking change in the API.

            Show
            amuniz Antonio Muñiz added a comment - Yes, it's ok. However this is not really a breaking change in the API.

              People

              • Assignee:
                amuniz Antonio Muñiz
                Reporter:
                amuniz Antonio Muñiz
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: