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

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

              Created:
              Updated:
              Resolved: