Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-11718

Initial job build should ignore 'new warnings' threshold

    XMLWordPrintable

Details

    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

          kutzi kutzi created issue -

          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.

          scm_issue_link SCM/JIRA link daemon added a comment - 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.
          scm_issue_link SCM/JIRA link daemon made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #2614
          [FIXED JENKINS-11718] Don't evaluate new warnings when there is

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          • src/main/java/hudson/plugins/analysis/core/BuildResult.java
          • src/main/java/hudson/plugins/analysis/core/ParserResult.java
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #2614 [FIXED JENKINS-11718] Don't evaluate new warnings when there is Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java src/main/java/hudson/plugins/analysis/core/BuildResult.java src/main/java/hudson/plugins/analysis/core/ParserResult.java
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #2808
          [FIXED JENKINS-11718] Don't evaluate new warnings when there is

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          • src/main/java/hudson/plugins/analysis/core/BuildResult.java
          • src/main/java/hudson/plugins/analysis/core/ParserResult.java
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #2808 [FIXED JENKINS-11718] Don't evaluate new warnings when there is Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java src/main/java/hudson/plugins/analysis/core/BuildResult.java src/main/java/hudson/plugins/analysis/core/ParserResult.java
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #2814
          [FIXED JENKINS-11718] Don't evaluate new warnings when there is

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          • src/main/java/hudson/plugins/analysis/core/BuildResult.java
          • src/main/java/hudson/plugins/analysis/core/ParserResult.java
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #2814 [FIXED JENKINS-11718] Don't evaluate new warnings when there is Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java src/main/java/hudson/plugins/analysis/core/BuildResult.java src/main/java/hudson/plugins/analysis/core/ParserResult.java
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #2900
          [FIXED JENKINS-11718] Don't evaluate new warnings when there is

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          • src/main/java/hudson/plugins/analysis/core/ParserResult.java
          • src/main/java/hudson/plugins/analysis/core/BuildResult.java
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #2900 [FIXED JENKINS-11718] Don't evaluate new warnings when there is Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java src/main/java/hudson/plugins/analysis/core/ParserResult.java src/main/java/hudson/plugins/analysis/core/BuildResult.java
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #3010
          [FIXED JENKINS-11718] Don't evaluate new warnings when there is

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          • src/main/java/hudson/plugins/analysis/core/BuildResult.java
          • src/main/java/hudson/plugins/analysis/core/ParserResult.java
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #3010 [FIXED JENKINS-11718] Don't evaluate new warnings when there is Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java src/main/java/hudson/plugins/analysis/core/BuildResult.java src/main/java/hudson/plugins/analysis/core/ParserResult.java
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #3061
          [FIXED JENKINS-11718] Don't evaluate new warnings when there is

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/ParserResult.java
          • src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          • src/main/java/hudson/plugins/analysis/core/BuildResult.java
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #3061 [FIXED JENKINS-11718] Don't evaluate new warnings when there is Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/ParserResult.java src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java src/main/java/hudson/plugins/analysis/core/BuildResult.java
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #3175
          [FIXED JENKINS-11718] Don't evaluate new warnings when there is

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/ParserResult.java
          • src/main/java/hudson/plugins/analysis/core/BuildResult.java
          • src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #3175 [FIXED JENKINS-11718] Don't evaluate new warnings when there is Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/ParserResult.java src/main/java/hudson/plugins/analysis/core/BuildResult.java src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #3178
          [FIXED JENKINS-11718] Don't evaluate new warnings when there is

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/ParserResult.java
          • src/main/java/hudson/plugins/analysis/core/BuildResult.java
          • src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #3178 [FIXED JENKINS-11718] Don't evaluate new warnings when there is Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/ParserResult.java src/main/java/hudson/plugins/analysis/core/BuildResult.java src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #4315
          [FIXED JENKINS-11718] Don't evaluate new warnings when there is

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/ParserResult.java
          • src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          • src/main/java/hudson/plugins/analysis/core/BuildResult.java
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #4315 [FIXED JENKINS-11718] Don't evaluate new warnings when there is Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/ParserResult.java src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java src/main/java/hudson/plugins/analysis/core/BuildResult.java
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #6379
          [FIXED JENKINS-11718] Don't evaluate new warnings when there is

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          • src/main/java/hudson/plugins/analysis/core/ParserResult.java
          • src/main/java/hudson/plugins/analysis/core/BuildResult.java
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #6379 [FIXED JENKINS-11718] Don't evaluate new warnings when there is Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java src/main/java/hudson/plugins/analysis/core/ParserResult.java src/main/java/hudson/plugins/analysis/core/BuildResult.java
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #6390
          [FIXED JENKINS-11718] Don't evaluate new warnings when there is

          Ulli Hafner :
          Files :

          • 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
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #6390 [FIXED JENKINS-11718] Don't evaluate new warnings when there is Ulli Hafner : Files : 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
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #6417
          [FIXED JENKINS-11718] Don't evaluate new warnings when there is

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          • src/main/java/hudson/plugins/analysis/core/BuildResult.java
          • src/main/java/hudson/plugins/analysis/core/ParserResult.java
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #6417 [FIXED JENKINS-11718] Don't evaluate new warnings when there is Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java src/main/java/hudson/plugins/analysis/core/BuildResult.java src/main/java/hudson/plugins/analysis/core/ParserResult.java
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #6517
          [FIXED JENKINS-11718] Don't evaluate new warnings when there is

          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/BuildResult.java
          • src/main/java/hudson/plugins/analysis/core/ParserResult.java
          • src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #6517 [FIXED JENKINS-11718] Don't evaluate new warnings when there is Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/BuildResult.java src/main/java/hudson/plugins/analysis/core/ParserResult.java src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          drulli Ulli Hafner added a comment -

          Integrated in Jenkins Analysis Plug-ins (Compile) #381
          [FIXED JENKINS-11718] Don't evaluate new warnings when there is (Revision 3fd140495752b3a7e2e04f87d7d76aab37e8a7ea)

          Result = SUCCESS

          drulli Ulli Hafner added a comment - Integrated in Jenkins Analysis Plug-ins (Compile) #381 [FIXED JENKINS-11718] Don't evaluate new warnings when there is (Revision 3fd140495752b3a7e2e04f87d7d76aab37e8a7ea) Result = SUCCESS
          dogfood dogfood added a comment -

          Integrated in plugins_analysis-core #10407
          [FIXED JENKINS-11718] Don't evaluate new warnings when there is (Revision 3fd140495752b3a7e2e04f87d7d76aab37e8a7ea)

          Result = SUCCESS
          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java
          • src/main/java/hudson/plugins/analysis/core/BuildResult.java
          • src/main/java/hudson/plugins/analysis/core/ParserResult.java
          dogfood dogfood added a comment - Integrated in plugins_analysis-core #10407 [FIXED JENKINS-11718] Don't evaluate new warnings when there is (Revision 3fd140495752b3a7e2e04f87d7d76aab37e8a7ea) Result = SUCCESS Ulli Hafner : Files : src/main/java/hudson/plugins/analysis/core/BuildResultEvaluator.java src/main/java/hudson/plugins/analysis/core/BuildResult.java src/main/java/hudson/plugins/analysis/core/ParserResult.java
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 141961 ] JNJira + In-Review [ 189904 ]

          People

            drulli Ulli Hafner
            kutzi kutzi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: