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

Test of Autocancel plugin uses deprecated enum BitbucketRepositoryType

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • autocancel-plugin
    • None

      A test of the Autocancel plugin uses the com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketRepositoryType enum type: https://github.com/jenkinsci/autocancel-plugin/blob/9b8023ba0add213ac9cc98851095c000fe9d445c/src/test/java/io/jenkins/plugins/autocancel/AutocancelBranchBuildsOnPullRequestBuildsTest.java#L90-L95

      BitbucketRepositoryType was deprecated in JENKINS-62669 PR#320. That change was released in Bitbucket Branch Source 2.9.7 on 15 January 2021.

      BitbucketRepositoryType would be completely deleted in the proposed PR#518. If this PR is merged and the Autocancel plugin upgrades the version of Bitbucket Branch Source in pom.xml, I think tests are going to fail.

            recuencojones David Recuenco
            kon Kalle Niemitalo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: