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

Emma plugin causes maven release job to fail

    XMLWordPrintable

Details

    Description

      Jenkins marks a maven release build as having failed when the job has been configured to use the emma reports plugin and the maven release build is configured to run -Dresume=false release:prepare release:perform. The emma plugin logs the following:

      Emma: no coverage files found in workspace. Was any report generated?
      Build step 'Record Emma coverage report' changed build result to FAILURE

      There should be a way to disable the emma plugin from running when doing a release, or do not have it fail the release build.

      A work around is to include emma:emma in the "Release goals and options" when configuring the job.

      Attachments

        Issue Links

          Activity

            dogfood dogfood added a comment -

            Integrated in plugins_emma #67
            [FIXED JENKINS-10236]Emma plugin causes maven release job to fail (Revision bcad7397b2f907fc611844cb26c8cc1a120dbf52)

            Result = SUCCESS
            Seiji Sogabe :
            Files :

            • src/main/java/hudson/plugins/emma/EmmaPublisher.java
            dogfood dogfood added a comment - Integrated in plugins_emma #67 [FIXED JENKINS-10236] Emma plugin causes maven release job to fail (Revision bcad7397b2f907fc611844cb26c8cc1a120dbf52) Result = SUCCESS Seiji Sogabe : Files : src/main/java/hudson/plugins/emma/EmmaPublisher.java

            Code changed in jenkins
            User: Seiji Sogabe
            Path:
            src/main/java/hudson/plugins/emma/EmmaPublisher.java
            http://jenkins-ci.org/commit/emma-plugin/bcad7397b2f907fc611844cb26c8cc1a120dbf52
            Log:
            [FIXED JENKINS-10236]Emma plugin causes maven release job to fail

            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Seiji Sogabe Path: src/main/java/hudson/plugins/emma/EmmaPublisher.java http://jenkins-ci.org/commit/emma-plugin/bcad7397b2f907fc611844cb26c8cc1a120dbf52 Log: [FIXED JENKINS-10236] Emma plugin causes maven release job to fail

            People

              sogabe sogabe
              p2auljr Paul Sideleau
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: