jkennedy1980 / clang-scanbuild-plugin

Jenkins plugin which enables static analysis of XCode projects using Clang scan-build
MIT License
10 stars 29 forks source link

Fail build option #6

Closed nathanshox closed 11 years ago

nathanshox commented 11 years ago

Right now the plugin will only mark a build unstable if a bug threshold is reached. This PR adds another option to fail a build if a separate bug threshold is reached. So for instance if there are 5 bugs the build is marked unstable, but if there are 10, the build is failed.

Failing the build takes precedence over marking it unstable. If the bug threshold for unstable is bigger than the threshold for failing, it won't matter as the build will be marked failed.

nathanshox commented 11 years ago

Thanks for merging this. Would it be possible to get a release of the plugin with this change?