Issue
I want to upgrade the Jira Steps plugin, but it contains a 'breaking change':
JENKINS-57182 When configuring a Jira steps site in casc yaml file. If the Jenkins service is restarted, the site is duplicated in Jenkins config. Breaking changes: the java class Config has been renamed to JiraStepsConfig. Review the documentation to adapt your scripts.
Environment
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Managed controller
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center
-
CloudBees CI (CloudBees Core) on traditional platforms - Client controller
-
CloudBees CI (CloudBees Core) on traditional platforms - Operations Center
-
CloudBees Jenkins Enterprise
-
CloudBees Jenkins Enterprise - Managed controller
-
CloudBees Jenkins Enterprise - Operations center
-
Jira Steps Plugin 1.5.0
Resolution
Looking at the changes made, it only seems to be renaming the config class from Config
to JiraStepsConfig
. None of the fields in the config seem to have changed.
In this case, the only changes you would need to make would be for any scripts referring to class Config
in package org.thoughtslive.jenkins.plugins.jira
. You would need to rename Config
to JiraStepsConfig
.