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

BlueOcean should have an optional dependency on JIRA plugin

    Details

    • Similar Issues:
    • Sprint:
      Blue Ocean 1.6 - beta 2

      Description

      blueocean-jira plugin is a mandatory plugin installed using blueocean aggregator plugin. We should allow users to be able to uninstall it. This is going to help users who are struggling with jira plugin issues.

        Attachments

          Issue Links

            Activity

            Hide
            vivek Vivek Pandey added a comment - - edited

            PR https://github.com/jenkinsci/blueocean-plugin/pull/1719#pullrequestreview-113742435.

            I tested this PR. I could not directly uninstall blueocean-jira plugin even though its optional. Uninstall button next to blueocean-jira was disabled. Looks like we can't do it directly from Update Center till we fix https://issues.jenkins-ci.org/browse/JENKINS-33843.

            As mentioned in this ticket, this is how you uninstall an optional plugin:

            • touch $JENKINS_HOME/plugins/blueocean-jira.hpi.disabled
            • Restart Jenkins

            Still a pain to uninstall but at least its way forward.

            EDIT:

            Michael Neale There is also a downside making anything optional - In future if we decide to make blueocean-jira plugin mandatory then its going to cause blueocean upgrade issues as blueocean will fail to load as it will detect blueocean-jira is mandatory dependency - will require user intervention to enable blueocean-jira plugin by going to update center.

            Basically if we decide to keep it optional, better to keep it this way forever otherwise there is going to be upgrade pains should we decide to make it non-optional.

            Show
            vivek Vivek Pandey added a comment - - edited PR https://github.com/jenkinsci/blueocean-plugin/pull/1719#pullrequestreview-113742435 . I tested this PR. I could not directly uninstall blueocean-jira plugin even though its optional. Uninstall button next to blueocean-jira was disabled. Looks like we can't do it directly from Update Center till we fix https://issues.jenkins-ci.org/browse/JENKINS-33843 . As mentioned in this ticket, this is how you uninstall an optional plugin: touch $JENKINS_HOME/plugins/blueocean-jira.hpi.disabled Restart Jenkins Still a pain to uninstall but at least its way forward. EDIT: Michael Neale There is also a downside making anything optional - In future if we decide to make blueocean-jira plugin mandatory then its going to cause blueocean upgrade issues as blueocean will fail to load as it will detect blueocean-jira is mandatory dependency - will require user intervention to enable blueocean-jira plugin by going to update center. Basically if we decide to keep it optional, better to keep it this way forever otherwise there is going to be upgrade pains should we decide to make it non-optional.
            Hide
            vivek Vivek Pandey added a comment -

            No more needed as https://issues.jenkins-ci.org/browse/JENKINS-48357 is fixed and integrated to blueocean.

            Show
            vivek Vivek Pandey added a comment - No more needed as https://issues.jenkins-ci.org/browse/JENKINS-48357 is fixed and integrated to blueocean.

              People

              • Assignee:
                michaelneale Michael Neale
                Reporter:
                vivek Vivek Pandey
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: