Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
When I import a project with existing warnings - e.g. compiler errors and have the new compiler warnings threshold set to e.g. 1, my initial build will be unstable/failed and I never have the chance to get it stable.
Would be nice if the 'new warnings' thresholds could be ignored for the 1st build.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Resolved [ 5 ] |
Workflow | JNJira [ 141961 ] | JNJira + In-Review [ 189904 ] |
Code changed in jenkins
User: Ulli Hafner
Path:
src/main/java/hudson/plugins/analysis/core/BuildResult.java
src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
src/main/java/hudson/plugins/analysis/core/ParserResult.java
http://jenkins-ci.org/commit/analysis-core-plugin/3fd140495752b3a7e2e04f87d7d76aab37e8a7ea
Log:
[FIXED JENKINS-11718] Don't evaluate new warnings when there is
no previous build result available.