Builds fail in JUnit test archiving (since 1.416) if specifying JDK other than the container

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      After update Jenkins from 1.415 to 1.416,
      our maven projects build fail every time.

      The console output is list as below:

      ... skipped ...

      [TASKS] Skipping maven reporter: there is already a result available.
      [JENKINS] Recording test results
      [JENKINS] Archiving D:\AppData\jenkins\jobs\pac\workspace\pac-core\pom.xml to D:\AppData\jenkins\jobs\pac\modules\pac$pac-core\builds\2011-06-20_18-25-35\archive\pac\pac-core\1.0-SNAPSHOT\pac-core-1.0-SNAPSHOT.pom
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test': hudson.util.io.ParserConfigurator$1; local class incompatible: stream classdesc serialVersionUID = 6472613931861772577, local class serialVersionUID = -2178106894481500733
      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1 minute 50 seconds
      [INFO] Finished at: Mon Jun 20 18:27:29 CST 2011
      [INFO] Final Memory: 97M/263M
      [INFO] ------------------------------------------------------------------------
      Waiting for Jenkins to finish collecting data

      ... skipped ...

            Assignee:
            kutzi
            Reporter:
            Pei-Tang Huang
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: