[
https://issues.jenkins-ci.org/browse/JENKINS-4399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158586#comment-158586
]
TIm Azzopardi commented on JENKINS-4399:
----------------------------------------
"PLease open a JIRA with the relevant components."
See https://issues.jenkins-ci.org/browse/JENKINS-12640
> A successful release can be marked as Failed if there are any post build
> actions that require reports
> -----------------------------------------------------------------------------------------------------
>
> Key: JENKINS-4399
> URL: https://issues.jenkins-ci.org/browse/JENKINS-4399
> Project: Jenkins
> Issue Type: Bug
> Components: m2release
> Affects Versions: current
> Environment: Platform: All, OS: All
> Reporter: redsolo
> Assignee: teilo
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira