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