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

A successful release can be marked as Failed if there are any post build actions that require reports

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • m2release-plugin
    • None
    • Platform: All, OS: All

      I have a job that is configured to show coverage reports using the cobertura
      plugin. When I use the m2release plugin, it will successfully release the plugin
      but the build itself will fail at the end since the cobertura action is
      expecting reports. Perhaps the m2release plugin could remove all other post
      actions such as the cobertura plugin when it is going to do a release?

      Output:
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESSFUL
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 18 minutes 16 seconds
      [INFO] Finished at: Wed Aug 26 00:33:53 CEST 2009
      [INFO] Final Memory: 26M/47M
      [INFO] ------------------------------------------------------------------------
      Waiting for Hudson to finish collecting data
      channel stopped
      Publishing Cobertura coverage report...
      No coverage results were found using the pattern
      '**/target/site/cobertura/coverage.xml' relative to
      '/home/hudson/hudson/data/jobs/Hudson plugin The Continuous Integration
      Game/workspace/./'. Did you enter a pattern relative to the correct directory?
      Did you generate the XML report(s) for Cobertura?
      Finished: FAILURE

          [JENKINS-4399] A successful release can be marked as Failed if there are any post build actions that require reports

          redsolo created issue -
          James Nord made changes -
          Link New: This issue depends on JENKINS-4410 [ JENKINS-4410 ]
          James Nord made changes -
          Resolution New: Won't Fix [ 2 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          James Nord made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 134472 ] New: JNJira + In-Review [ 202865 ]
          James Nord made changes -
          Assignee Original: James Nord [ teilo ]

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

              Created:
              Updated:
              Resolved: