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

Successful release builds are being marked as failures

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • m2release-plugin
    • None
    • Hudson 1.369, M2 Release Plugin 0.5.3, Cobertura plugin 1.0

      For some reason I am getting failed builds when I do Maven releases in Hudson. As it can be seen from the following log fragment, the build itself completes just fine. But for some reason it is still being marked as failed.

      I guess it could really be the Cobertura plugin - since it is complaining a bit. But I think it should be possible to run that sort of plugins on all normal builds and have release builds still work.

      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] [INFO] BUILD SUCCESSFUL
      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] [INFO] Total time: 1 minute 31 seconds
      [INFO] [INFO] Finished at: Fri Aug 06 14:58:42 CEST 2010
      [INFO] [INFO] Final Memory: 21M/41M
      [INFO] [INFO] ------------------------------------------------------------------------
      [INFO] Cleaning up after release...
      [TASKS] Skipping maven reporter: there is already a result available.
      [HUDSON] Archiving C:\java_dev_env\hudson_home\jobs\SafeCom Protocol Implementation\workspace\trunk\pom.xml to C:\java_dev_env\hudson_home\jobs\SafeCom Protocol Implementation\modules\dk.safecom.core$safecom-server-interface\builds\2010-08-06_14-54-48\archive\dk.safecom.core\safecom-server-interface\2.0.0-SNAPSHOT\pom.xml
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESSFUL
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 3 minutes 46 seconds
      [INFO] Finished at: Fri Aug 06 14:58:43 CEST 2010
      [INFO] Final Memory: 14M/26M
      [INFO] ------------------------------------------------------------------------
      channel stopped
      Publishing Cobertura coverage report...
      No coverage results were found using the pattern '**/target/site/cobertura/coverage.xml' relative to 'C:\java_dev_env\hudson_home\jobs\SafeCom Protocol Implementation\workspace\trunk'.  Did you enter a pattern relative to the correct directory?  Did you generate the XML report(s) for Cobertura?
      An attempt to send an e-mail to empty list of recipients, ignored.
      Finished: FAILURE
      

          [JENKINS-7148] Successful release builds are being marked as failures

          James Nord added a comment -

          Duplicated of JENKINS-4399

          Does your release build not run the site that generates the corbetura report?

          James Nord added a comment - Duplicated of JENKINS-4399 Does your release build not run the site that generates the corbetura report?

            Unassigned Unassigned
            kristoffer_p kristoffer_p
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: