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

Plugin parent pom v2.13+ causes jacoco build failures in rest plugins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • blueocean-plugin
    • None
    • atlantic

      (vivek yo Vivek ... just assigning to you initially ... please reassign as you see fit)

      Changes were made to the plugin parent pom in v2.13 that cause the Blue Ocean build to fail.

      Basically, the maven-surefire-plugin plugin must be configured with <argLine>-Djava.awt.headless=true</argLine>. If not, the jacoco-maven-plugin causes the build to fail with a complexity rule error.

      Yeah ... that sounds totally weird, but it is the case. It must be a side effect of some other issue.

      Worked around by adding an explicit config of maven-surefire-plugin to the root pom in blue ocean. That will prob need to be reviewed as part of resolving this ticket.

            vivek Vivek Pandey
            tfennelly Tom FENNELLY
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: