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

BlueOcean should have an optional dependency on JIRA plugin

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • Blue Ocean 1.6 - beta 2
    • blueocean 1.24.4

      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.

          [JENKINS-50885] BlueOcean should have an optional dependency on JIRA plugin

          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:

          michaelneale 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.

          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: michaelneale 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.

          Vivek Pandey added a comment -

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

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

          Devin Nusbaum added a comment -

          Now that JENKINS-33843 has been fixed, we want to revisit this. Blue Ocean users may not use Jira so we do not want to force all Blue Ocean users to install the blueocean-jira and jira plugins.

          Devin Nusbaum added a comment - Now that  JENKINS-33843  has been fixed, we want to revisit this. Blue Ocean users may not use Jira so we do not want to force all Blue Ocean users to install the blueocean-jira and jira plugins.

          Devin Nusbaum added a comment -

          JIRA Integration for Blue Ocean plugin is now an optional dependency of Blue Ocean as of version 1.24.4.

          Devin Nusbaum added a comment - JIRA Integration for Blue Ocean plugin is now an optional dependency of Blue Ocean as of version 1.24.4.

            dnusbaum Devin Nusbaum
            vivek Vivek Pandey
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: