Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0
-
Labels:None
-
Number of attachments :
Description
It would be great that the behaviour of the Hudson Sonar plugin is changed in that way :
1. if the main build fails, then the Sonar goal will not even start (at least there should be an option)
2. if the sonar goal fails, then the job should show as being in error
Issue Links
- is duplicated by
-
SONARJNKNS-47
Sonar Hudson plugin shouldn't be called when build fails
-
-
SONARJNKNS-183
Hudson build should fail when Hudson Sonar plugin fails
-
NOTE: I haven't been using the Hudson plugin but have been using a cron job instead. I plan on using this plugin once 1.0 is released.
I hope there is an option to disable/enable this feature. By default our main build fails when there's test failures (amongst other things), but I want to be able to run Sonar on code that has failing tests so that we get nightly metrics, including test failures.