Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
windows 7
Description
most times a build is declared failed, its about compilation issues, or health thresholds or simple scripting error status.
so most times, it has nothing to do with sloc.
the problem is that the failed build has no sloc summary data in the build.xml (it doesn't even coast from the previous non-failed build).
Can be addressed many options
0 - ignore failure state of build
1 - have an ignore failed build status option (many other publisher plugins have this
2 - if can't ignore fail status, at least coast the data from last non failed build
in general, suggest that unless there was a path issues (sloc count file doesn't exist) the results should always be published
Code changed in jenkins
User: Michal Turek
Path:
src/main/resources/hudson/plugins/sloccount/SloccountPublisher/config.jelly
http://jenkins-ci.org/commit/sloccount-plugin/105324d6263140d03989d02995c588e988cd5365
Log:
Merge pull request #40 from mixalturek/master
JENKINS-22303Should have option to not care about build failure statu...Compare: https://github.com/jenkinsci/sloccount-plugin/compare/2d9956629d6b...105324d62631