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

Checks API tests fail on Java 21 with Mockito errors

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • checks-api-plugin
    • None
    • 2.0.1

      The following Checks API tests fail on Java 21 with Mockito errors:

      io.jenkins.plugins.checks.api.ChecksPublisherFactoryTest
      io.jenkins.plugins.checks.api.NullChecksPublisherTest
      io.jenkins.plugins.checks.steps.PublishChecksStepTest
      io.jenkins.plugins.checks.steps.WithChecksStepTest
      

          [JENKINS-71804] Checks API tests fail on Java 21 with Mockito errors

          Basil Crow created issue -

          Basil Crow added a comment -

          Similar issues have been observed in other plugins and were resolved by updating the plugin parent POM to 4.68 which has a recent version of Mockito that supports Java 21. Can this plugin be upgraded to a recent version of Mockito and a new version released for BOM/PCT purposes?

          Basil Crow added a comment - Similar issues have been observed in other plugins and were resolved by updating the plugin parent POM to 4.68 which has a recent version of Mockito that supports Java 21. Can this plugin be upgraded to a recent version of Mockito and a new version released for BOM/PCT purposes?
          Basil Crow made changes -
          Remote Link New: This issue links to "jenkinsci/checks-api-plugin#227 (Web Link)" [ 28869 ]
          Basil Crow made changes -
          Assignee Original: Kezhi Xiong [ xiongkezhi ]

          Basil Crow added a comment -

          When this ticket is resolved, the workaround in jenkinsci/bom should be deleted per https://github.com/jenkinsci/bom/issues/2382

          Basil Crow added a comment - When this ticket is resolved, the workaround in jenkinsci/bom should be deleted per https://github.com/jenkinsci/bom/issues/2382
          Basil Crow made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Basil Crow made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Basil Crow made changes -
          Remote Link New: This issue links to "jenkinsci/checks-api-plugin#229 (Web Link)" [ 28925 ]
          Basil Crow made changes -
          Released As New: 2.0.1
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Closed [ 6 ]

            Unassigned Unassigned
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: