Badge 2.0 and 2.1 come with a change in the arguments in the called method parameters to add.*Badge(), this change breaks compatibility with Groovy PostBuild plugin

          [JENKINS-73794] Plugin incompatible with Badge 2.X

          Siriani added a comment -

          Siriani added a comment - https://github.com/jenkinsci/badge-plugin/releases/tag/badge-2.0

          Mark Waite added a comment - - edited

          Workaround is to remain with badge plugin 1.13.

          Other dependencies of badge plugin may also be broken, including

          Mark Waite added a comment - - edited Workaround is to remain with badge plugin 1.13. Other dependencies of badge plugin may also be broken, including Build monitor view (over 14,000 installations, last released 4 weeks ago) Alauda DevOps Sync (only 2 known installations, last released 5 years ago)

          Scarlett added a comment - - edited

          How can we rollback the Badge plugin when it is grayed out due to dependent Groovy postbuild plugin? Does it require disabling the dependent plugin before it will allow rollback?

           

          Update:
          Was able to rollback the Badge plugin by doing this:

          1. Uninstall groovy postbuild
          2. Restart Jenkins
          3. Rollback Badge plugin
          4. Restart Jenkins
          5. Install groovy postbuild

          Scarlett added a comment - - edited How can we rollback the Badge plugin when it is grayed out due to dependent Groovy postbuild plugin? Does it require disabling the dependent plugin before it will allow rollback?   Update: Was able to rollback the Badge plugin by doing this: Uninstall groovy postbuild Restart Jenkins Rollback Badge plugin Restart Jenkins Install groovy postbuild

          Mark Waite added a comment -

          Another way to rollback the badge plugin is to use the "Advanced Settings" page of the Jenkins plugin manager to download the older badge plugin from the URL https://get.jenkins.io/plugins/badge/1.13/badge.hpi

          Mark Waite added a comment - Another way to rollback the badge plugin is to use the "Advanced Settings" page of the Jenkins plugin manager to download the older badge plugin from the URL https://get.jenkins.io/plugins/badge/1.13/badge.hpi

          Mark Waite added a comment -

          The pull request summary page includes a "Jenkins incrementals publisher" section with links to several ways that Jenkins administrators can download a pre-release of the plugin. My results from testing the pre-release are included in the pull request

          Mark Waite added a comment - The pull request summary page includes a "Jenkins incrementals publisher" section with links to several ways that Jenkins administrators can download a pre-release of the plugin. My results from testing the pre-release are included in the pull request

            wolfs Stefan Wolf
            laith_siriani Siriani
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: