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

BlueOcean should have an optional dependency on JIRA plugin

    XMLWordPrintable

    Details

    • Similar Issues:
    • Sprint:
      Blue Ocean 1.6 - beta 2
    • Released As:
      blueocean 1.24.4

      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

            vivek Vivek Pandey created issue -
            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.
            vivek Vivek Pandey made changes -
            Field Original Value New Value
            Status Open [ 1 ] In Progress [ 3 ]
            vivek Vivek Pandey made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            vivek Vivek Pandey made changes -
            Link This issue relates to JENKINS-33843 [ JENKINS-33843 ]
            vivek Vivek Pandey made changes -
            Link This issue relates to JENKINS-48357 [ JENKINS-48357 ]
            jamesdumay James Dumay made changes -
            Remote Link This issue links to "CloudBees Internal UX-691 (Web Link)" [ 20537 ]
            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.
            vivek Vivek Pandey made changes -
            Resolution Won't Fix [ 2 ]
            Status In Review [ 10005 ] Closed [ 6 ]
            Hide
            dnusbaum 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.

            Show
            dnusbaum 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.
            dnusbaum Devin Nusbaum made changes -
            Assignee Michael Neale [ michaelneale ] Devin Nusbaum [ dnusbaum ]
            Resolution Won't Fix [ 2 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            dnusbaum Devin Nusbaum made changes -
            Status Reopened [ 4 ] In Progress [ 3 ]
            dnusbaum Devin Nusbaum made changes -
            Remote Link This issue links to "jenkinsci/blueocean-plugin#2125 (Web Link)" [ 26458 ]
            Hide
            dnusbaum 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.

            Show
            dnusbaum 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 made changes -
            Released As blueocean 1.24.4
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]

              People

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

                Dates

                Created:
                Updated:
                Resolved: