Skip to content

[JENKINS-52718] Jenkins#getInstallState should not be restricted #19914

Closed

Description

@jenkins-infra-bot

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?


Originally reported by amuniz, imported from: Jenkins#getInstallState should not be restricted
  • assignee: amuniz
  • status: Resolved
  • priority: Minor
  • component(s): core
  • resolution: Fixed
  • resolved: 2018-08-06T12:21:55+00:00
  • votes: 0
  • watchers: 1
  • imported: 2025-11-24
Raw content of original issue

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?

Activity

  1. jenkins-infra-bot commented on Jul 24, 2018

    @jenkins-infra-bot
    Author
    • Remote link associated with this issue:

  2. jenkins-infra-bot commented on Aug 6, 2018

    @jenkins-infra-bot
    Author
    oleg_nenashev:
    • Original comment link
    • Raw content of original comment:

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

       

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

     

  3. jenkins-infra-bot commented on Aug 27, 2018

    @jenkins-infra-bot
    Author
    amuniz:
    • Original comment link
    • Raw content of original comment:

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions