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

[maven projects] Build health and threshold evaluation is broken

    Details

      Description

      For findbugs to cause a build to fail when high-priority issues exist, in the
      advanced part of "Publish FindBugs analysis results" you should be able to
      choose Priority Evaluation to be "Only priority high" and then put a threshold
      of 0 in the red fail Total box.

      However, when I do this and a single high-priority issue is found the build
      fails due to an internal hudson error:

      [INFO] [findbugs:findbugs

      {execution: default-cli}

      ]
      [INFO] No effort provided, using default effort.
      [INFO] No threshold provided, using default threshold.
      [INFO] Using FindBugs Version: 1.2.1
      [INFO] No threshold provided, using default threshold.
      [INFO] No threshold provided, using default threshold.
      [INFO] No threshold provided, using default threshold.
      [INFO] Using the xdoc format
      [INFO] No effort provided, using default effort.
      [INFO] No threshold provided, using default threshold.
      [INFO] No threshold provided, using default threshold.
      [INFO] Debugging is Off
      [INFO] No bug include filter.
      [INFO] No bug exclude filter.
      [INFO] Printing Errors
      [INFO] Printing Missing classes
      [INFO] Printing Source Roots
      log4j:WARN No appenders could be found for logger
      (org.apache.commons.digester.Digester.sax).
      log4j:WARN Please initialize the log4j system properly.
      [FINDBUGS] Successfully parsed file ... of module
      $

      {moduleName}

      .$

      {project.version}

      with 790 warnings.
      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] null
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      java.lang.reflect.UndeclaredThrowableException
      at $Proxy2.end(Unknown Source)
      at hudson.maven.MavenBuildProxy2$Filter.end(MavenBuildProxy2.java:67)
      at
      hudson.maven.MavenModuleSetBuild$Builder.postModule(MavenModuleSetBuild.java:726)
      at hudson.maven.MavenBuilder$Adapter.fireLeaveModule(MavenBuilder.java:304)
      at hudson.maven.MavenBuilder$Adapter.postBuild(MavenBuilder.java:262)
      at
      org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:68)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:592)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at hudson.maven.agent.Main.launch(Main.java:165)
      at hudson.maven.MavenBuilder.call(MavenBuilder.java:159)
      at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:689)
      at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:633)
      at hudson.remoting.UserRequest.perform(UserRequest.java:104)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:250)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.io.IOException: Remote call failed
      at hudson.remoting.Channel.call(Channel.java:556)
      at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:158)
      ... 28 more
      Caused by: java.lang.AssertionError
      at hudson.model.Run.setResult(Run.java:291)
      at
      hudson.plugins.findbugs.util.AbstractResultAction.updateBuildHealth(AbstractResultAction.java:246)
      at
      hudson.plugins.findbugs.MavenFindBugsResultAction.update(MavenFindBugsResultAction.java:93)
      at hudson.maven.MavenModuleSetBuild.notifyModuleBuild(MavenModuleSetBuild.java:350)
      at hudson.maven.MavenBuild$ProxyImpl2.end(MavenBuild.java:419)
      at sun.reflect.GeneratedMethodAccessor203.invoke(Unknown Source)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:592)
      at hudson.model.Executor$1.call(Executor.java:376)
      at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23)
      at $Proxy14.end(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor343.invoke(Unknown Source)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:592)
      at
      hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274)
      at
      hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255)
      at
      hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215)
      ... 9 more
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 5 minutes 8 seconds
      [INFO] Finished at: Fri Nov 20 04:56:06 EST 2009 [INFO] Final Memory: 123M/995M
      [INFO]

        Issue Links

          Activity

          Hide
          drulli Ulli Hafner added a comment -

          I see, Kohsuke added an assertion to prevent maven reporters from changing the
          build status afterwords. Seems that failing a build using warning thresholds
          does not work for the maven project type in that way. Please use the freestyle
          job until I find a way to do the same in m2 jobs.

          Show
          drulli Ulli Hafner added a comment - I see, Kohsuke added an assertion to prevent maven reporters from changing the build status afterwords. Seems that failing a build using warning thresholds does not work for the maven project type in that way. Please use the freestyle job until I find a way to do the same in m2 jobs.
          Hide
          drulli Ulli Hafner added a comment -

          Hi Kosuke, maybe you can give my a tip on how to implement this issue:

          in my analysis plug-ins I used to change the build status in
          MavenAggregatedReport.update(). However, that seems to be not possible
          anymore due to an assertion:

          public void setResult(Result r) {
          // state can change only when we are building
          assert state==State.BUILDING;

          So how can I change the status of the build in a maven multi module
          project now?

          My usecase: I want to change the status of a build if the number of
          warnings exceeds 10. In the following example the number of warnings per
          module is shown in brackets, only the sub modules have findbugs
          warnings, the modules and main project just aggregate the warnings of
          their childs.

          main-project [4 + 7 = 11]
          module 1 [3 + 1 = 4]
          sub module 1 [3]
          sub module 2 [1]
          module 2 [5 + 2 = 7]
          sub module 3 [5]
          sub module 4 [2]

          I.e., when the maven reporter is called for 'main-project', then I would
          like to aggregate the results of the children and fail a build if the
          threshold is exceeded.

          Any ideas where to implement that feature?

          Show
          drulli Ulli Hafner added a comment - Hi Kosuke, maybe you can give my a tip on how to implement this issue: in my analysis plug-ins I used to change the build status in MavenAggregatedReport.update(). However, that seems to be not possible anymore due to an assertion: public void setResult(Result r) { // state can change only when we are building assert state==State.BUILDING; So how can I change the status of the build in a maven multi module project now? My usecase: I want to change the status of a build if the number of warnings exceeds 10. In the following example the number of warnings per module is shown in brackets, only the sub modules have findbugs warnings, the modules and main project just aggregate the warnings of their childs. main-project [4 + 7 = 11] module 1 [3 + 1 = 4] sub module 1 [3] sub module 2 [1] module 2 [5 + 2 = 7] sub module 3 [5] sub module 4 [2] I.e., when the maven reporter is called for 'main-project', then I would like to aggregate the results of the children and fail a build if the threshold is exceeded. Any ideas where to implement that feature?
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/analysis-core/src/main/java/hudson/plugins/analysis/core/AbstractResultAction.java
          http://jenkins-ci.org/commit/28463
          Log:
          JENKINS-4912: Disabled the setting of the build result for m2 jobs.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/analysis-core/src/main/java/hudson/plugins/analysis/core/AbstractResultAction.java http://jenkins-ci.org/commit/28463 Log: JENKINS-4912 : Disabled the setting of the build result for m2 jobs.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : drulli
          Path:
          trunk/hudson/plugins/analysis-collector/pom.xml
          trunk/hudson/plugins/analysis-collector/src/main/resources/hudson/plugins/analysis/collector/AnalysisPublisher/config.jelly
          trunk/hudson/plugins/analysis-core/src/main/java/hudson/plugins/analysis/core/HealthAwareMavenReporter.java
          trunk/hudson/plugins/analysis-core/src/main/resources/util/health.jelly
          trunk/hudson/plugins/analysis-core/src/main/resources/util/health.properties
          trunk/hudson/plugins/analysis-core/src/main/resources/util/thresholds.jelly
          trunk/hudson/plugins/analysis-core/src/main/resources/util/thresholds.properties
          trunk/hudson/plugins/analysis-test/pom.xml
          trunk/hudson/plugins/analysis-test/src/main/java/hudson/plugins/analysis/test/AbstractHealthDescriptorTest.java
          trunk/hudson/plugins/checkstyle/pom.xml
          trunk/hudson/plugins/checkstyle/src/main/resources/hudson/plugins/checkstyle/CheckStylePublisher/config.jelly
          trunk/hudson/plugins/checkstyle/src/main/resources/hudson/plugins/checkstyle/CheckStyleReporter/config.jelly
          trunk/hudson/plugins/dry/pom.xml
          trunk/hudson/plugins/dry/src/main/resources/hudson/plugins/dry/DryPublisher/config.jelly
          trunk/hudson/plugins/dry/src/main/resources/hudson/plugins/dry/DryReporter/config.jelly
          trunk/hudson/plugins/findbugs/plugin/pom.xml
          trunk/hudson/plugins/findbugs/plugin/src/main/resources/hudson/plugins/findbugs/FindBugsPublisher/config.jelly
          trunk/hudson/plugins/findbugs/plugin/src/main/resources/hudson/plugins/findbugs/FindBugsReporter/config.jelly
          trunk/hudson/plugins/pmd/pom.xml
          trunk/hudson/plugins/pmd/src/main/resources/hudson/plugins/pmd/PmdPublisher/config.jelly
          trunk/hudson/plugins/pmd/src/main/resources/hudson/plugins/pmd/PmdReporter/config.jelly
          trunk/hudson/plugins/tasks/pom.xml
          trunk/hudson/plugins/tasks/src/main/resources/hudson/plugins/tasks/TasksPublisher/config.jelly
          trunk/hudson/plugins/tasks/src/main/resources/hudson/plugins/tasks/TasksReporter/config.jelly
          trunk/hudson/plugins/warnings/pom.xml
          trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/WarningsPublisher/config.jelly
          http://jenkins-ci.org/commit/35061
          Log:
          JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : drulli Path: trunk/hudson/plugins/analysis-collector/pom.xml trunk/hudson/plugins/analysis-collector/src/main/resources/hudson/plugins/analysis/collector/AnalysisPublisher/config.jelly trunk/hudson/plugins/analysis-core/src/main/java/hudson/plugins/analysis/core/HealthAwareMavenReporter.java trunk/hudson/plugins/analysis-core/src/main/resources/util/health.jelly trunk/hudson/plugins/analysis-core/src/main/resources/util/health.properties trunk/hudson/plugins/analysis-core/src/main/resources/util/thresholds.jelly trunk/hudson/plugins/analysis-core/src/main/resources/util/thresholds.properties trunk/hudson/plugins/analysis-test/pom.xml trunk/hudson/plugins/analysis-test/src/main/java/hudson/plugins/analysis/test/AbstractHealthDescriptorTest.java trunk/hudson/plugins/checkstyle/pom.xml trunk/hudson/plugins/checkstyle/src/main/resources/hudson/plugins/checkstyle/CheckStylePublisher/config.jelly trunk/hudson/plugins/checkstyle/src/main/resources/hudson/plugins/checkstyle/CheckStyleReporter/config.jelly trunk/hudson/plugins/dry/pom.xml trunk/hudson/plugins/dry/src/main/resources/hudson/plugins/dry/DryPublisher/config.jelly trunk/hudson/plugins/dry/src/main/resources/hudson/plugins/dry/DryReporter/config.jelly trunk/hudson/plugins/findbugs/plugin/pom.xml trunk/hudson/plugins/findbugs/plugin/src/main/resources/hudson/plugins/findbugs/FindBugsPublisher/config.jelly trunk/hudson/plugins/findbugs/plugin/src/main/resources/hudson/plugins/findbugs/FindBugsReporter/config.jelly trunk/hudson/plugins/pmd/pom.xml trunk/hudson/plugins/pmd/src/main/resources/hudson/plugins/pmd/PmdPublisher/config.jelly trunk/hudson/plugins/pmd/src/main/resources/hudson/plugins/pmd/PmdReporter/config.jelly trunk/hudson/plugins/tasks/pom.xml trunk/hudson/plugins/tasks/src/main/resources/hudson/plugins/tasks/TasksPublisher/config.jelly trunk/hudson/plugins/tasks/src/main/resources/hudson/plugins/tasks/TasksReporter/config.jelly trunk/hudson/plugins/warnings/pom.xml trunk/hudson/plugins/warnings/src/main/resources/hudson/plugins/warnings/WarningsPublisher/config.jelly http://jenkins-ci.org/commit/35061 Log: JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health.
          Hide
          drulli Ulli Hafner added a comment -

          Integrated in Hudson Plug-ins (Compile) #59
          JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health.
          JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health.
          JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health.
          JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health.
          JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health.
          JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health.
          JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health.
          JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health.
          JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health.

          Show
          drulli Ulli Hafner added a comment - Integrated in Hudson Plug-ins (Compile) #59 JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health. JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health. JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health. JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health. JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health. JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health. JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health. JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health. JENKINS-3561 JENKINS-4912 Split health and thresholds into 2 jelly scripts. Maven reporters will only use health.
          Hide
          kutzi kutzi added a comment -

          Are there any news about when this bug may be fixed?
          When using the Maven project type (like me) this is really a blocker.

          Show
          kutzi kutzi added a comment - Are there any news about when this bug may be fixed? When using the Maven project type (like me) this is really a blocker.
          Hide
          drulli Ulli Hafner added a comment -

          Well, actually I don't have a clue how to fix that, that is the reason why I assigned it to Kohsuke. I also tried to get more information on the mailing list without success. Since maven 3 is ready to be released (that will change that part of the code) I don't think that it makes sense to invest too much time into this. In the upcoming release I removed the priorities from the maven reporter until the API is clear.

          As a workaround you can either create an additional freestyle job or the analysis-collector plug-in.

          Show
          drulli Ulli Hafner added a comment - Well, actually I don't have a clue how to fix that, that is the reason why I assigned it to Kohsuke. I also tried to get more information on the mailing list without success. Since maven 3 is ready to be released (that will change that part of the code) I don't think that it makes sense to invest too much time into this. In the upcoming release I removed the priorities from the maven reporter until the API is clear. As a workaround you can either create an additional freestyle job or the analysis-collector plug-in.
          Hide
          kutzi kutzi added a comment -

          > As a workaround you can either create an additional freestyle job or the analysis-collector plug-in.

          Means: the analysis-collector plug-in can change the build result even for maven jobs?

          Show
          kutzi kutzi added a comment - > As a workaround you can either create an additional freestyle job or the analysis-collector plug-in. Means: the analysis-collector plug-in can change the build result even for maven jobs?
          Hide
          drulli Ulli Hafner added a comment -

          I haven't tried but that plug-in provides only a publisher, and not a reporter. And the API of a publisher allows status changes afterwards.

          Show
          drulli Ulli Hafner added a comment - I haven't tried but that plug-in provides only a publisher, and not a reporter. And the API of a publisher allows status changes afterwards.
          Hide
          teilo James Nord added a comment -

          but analysis collector can not differentiate between any of the reporters.

          We only want to mark the build as unstable based on the number of PMD/Findbugs issues but still report checkstyle and tasks.

          we still need to keep checkstyle and tasks at high,medium and low levels so can not force all PMD/Findbugs to high and checkstyle,tasks to low.

          Show
          teilo James Nord added a comment - but analysis collector can not differentiate between any of the reporters. We only want to mark the build as unstable based on the number of PMD/Findbugs issues but still report checkstyle and tasks. we still need to keep checkstyle and tasks at high,medium and low levels so can not force all PMD/Findbugs to high and checkstyle,tasks to low.
          Hide
          teilo James Nord added a comment -

          The test result plugin knows there have been test failures to mark the build as unstable - you should be able to use the same mechanism?

          Show
          teilo James Nord added a comment - The test result plugin knows there have been test failures to mark the build as unstable - you should be able to use the same mechanism?
          Hide
          drulli Ulli Hafner added a comment -

          I haven't looked at the code of the test publisher yet. However, the test publisher sets the build to unstable as soon as there is a test failure (which is quite easy using the current API). I need to fail the build if the totals reach a limit (aggregating over several modules). And currently the build is marked as final in the aggregation API.

          Show
          drulli Ulli Hafner added a comment - I haven't looked at the code of the test publisher yet. However, the test publisher sets the build to unstable as soon as there is a test failure (which is quite easy using the current API). I need to fail the build if the totals reach a limit (aggregating over several modules). And currently the build is marked as final in the aggregation API.
          Hide
          teilo James Nord added a comment -

          Our use case is just to set the build as unstable if any findbugs or pmd violations are found.

          I do not want to fail the build.

          should this be a different issue?

          Show
          teilo James Nord added a comment - Our use case is just to set the build as unstable if any findbugs or pmd violations are found. I do not want to fail the build. should this be a different issue?
          Hide
          drulli Ulli Hafner added a comment -

          It makes no difference to set the status to failure or unstable. The aggregation is the missing point in the maven API.

          Show
          drulli Ulli Hafner added a comment - It makes no difference to set the status to failure or unstable. The aggregation is the missing point in the maven API.
          Hide
          teilo James Nord added a comment -

          We don't want to aggregate - we use multiple modules projects and want to fail when X is exceeded for any single module not X across all modules.

          where in our case X=1

          And we really do want to see the module as unstable as well as the build.

          Show
          teilo James Nord added a comment - We don't want to aggregate - we use multiple modules projects and want to fail when X is exceeded for any single module not X across all modules. where in our case X=1 And we really do want to see the module as unstable as well as the build.
          Hide
          drulli Ulli Hafner added a comment -

          I see, that is an easier use case where aggregation is actually not needed.

          Show
          drulli Ulli Hafner added a comment - I see, that is an easier use case where aggregation is actually not needed.
          Hide
          jcrouvi jcrouvi added a comment -

          We use Hudson ver. 1.395.
          I have defined a new Maven 2/3 Job and configured the Health
          thresholds for Checkstyle, ..., & Co. as follows: 100%: 6, 0%: 6

          This job has got about:
          14 PMD warnings
          8 Findbugs warnings
          13 Checkstyle warnings

          When this job is built, his Build stability is always 'sunny'!
          The Build stability should be 'stormy'.
          Also see http://groups.google.com/group/jenkinsci-users/browse_thread/thread/4679d87ea02154e1

          Show
          jcrouvi jcrouvi added a comment - We use Hudson ver. 1.395. I have defined a new Maven 2/3 Job and configured the Health thresholds for Checkstyle, ..., & Co. as follows: 100%: 6, 0%: 6 This job has got about: 14 PMD warnings 8 Findbugs warnings 13 Checkstyle warnings When this job is built, his Build stability is always 'sunny'! The Build stability should be 'stormy'. Also see http://groups.google.com/group/jenkinsci-users/browse_thread/thread/4679d87ea02154e1
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          pom.xml
          src/main/java/hudson/plugins/analysis/core/AbstractResultAction.java
          src/main/java/hudson/plugins/analysis/core/HealthAwareMavenReporter.java
          src/main/java/hudson/plugins/analysis/core/Thresholds.java
          src/main/resources/util/advancedMaven.jelly
          http://jenkins-ci.org/commit/analysis-core-plugin/128e98d9c8094961f425445bc07041a5f4f97e91
          Log:
          [FIXED JENKINS-4912] Fixed build health and threshold evaluation of m2
          jobs.

          Compare: https://github.com/jenkinsci/analysis-core-plugin/compare/d38e7e1...128e98d

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: pom.xml src/main/java/hudson/plugins/analysis/core/AbstractResultAction.java src/main/java/hudson/plugins/analysis/core/HealthAwareMavenReporter.java src/main/java/hudson/plugins/analysis/core/Thresholds.java src/main/resources/util/advancedMaven.jelly http://jenkins-ci.org/commit/analysis-core-plugin/128e98d9c8094961f425445bc07041a5f4f97e91 Log: [FIXED JENKINS-4912] Fixed build health and threshold evaluation of m2 jobs. Compare: https://github.com/jenkinsci/analysis-core-plugin/compare/d38e7e1...128e98d
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          pom.xml
          http://jenkins-ci.org/commit/analysis-test-plugin/7ba4e1bd099fa014f7c9ca03952218f02e1ae99f
          Log:
          [FIXED JENKINS-4912] Fixed build health and threshold evaluation of m2
          jobs.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: pom.xml http://jenkins-ci.org/commit/analysis-test-plugin/7ba4e1bd099fa014f7c9ca03952218f02e1ae99f Log: [FIXED JENKINS-4912] Fixed build health and threshold evaluation of m2 jobs.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          pom.xml
          src/main/java/hudson/plugins/checkstyle/CheckStyleReporter.java
          http://jenkins-ci.org/commit/checkstyle-plugin/9c0529f6fa64dae72b7e02c34ef6ad76782d0102
          Log:
          [FIXED JENKINS-4912] Fixed build health and threshold evaluation of m2
          jobs.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: pom.xml src/main/java/hudson/plugins/checkstyle/CheckStyleReporter.java http://jenkins-ci.org/commit/checkstyle-plugin/9c0529f6fa64dae72b7e02c34ef6ad76782d0102 Log: [FIXED JENKINS-4912] Fixed build health and threshold evaluation of m2 jobs.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          pom.xml
          src/main/java/hudson/plugins/dry/DryReporter.java
          http://jenkins-ci.org/commit/dry-plugin/fe174ae559838f4d19d55dd381fa0e97703b8cbb
          Log:
          [FIXED JENKINS-4912] Fixed build health and threshold evaluation of m2
          jobs.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: pom.xml src/main/java/hudson/plugins/dry/DryReporter.java http://jenkins-ci.org/commit/dry-plugin/fe174ae559838f4d19d55dd381fa0e97703b8cbb Log: [FIXED JENKINS-4912] Fixed build health and threshold evaluation of m2 jobs.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          plugin/pom.xml
          plugin/src/main/java/hudson/plugins/findbugs/FindBugsReporter.java
          http://jenkins-ci.org/commit/findbugs-plugin/206c61c889066874c444f909e7cc6d34b6633084
          Log:
          [FIXED JENKINS-4912] Fixed build health and threshold evaluation of m2
          jobs.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: plugin/pom.xml plugin/src/main/java/hudson/plugins/findbugs/FindBugsReporter.java http://jenkins-ci.org/commit/findbugs-plugin/206c61c889066874c444f909e7cc6d34b6633084 Log: [FIXED JENKINS-4912] Fixed build health and threshold evaluation of m2 jobs.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          pom.xml
          src/main/java/hudson/plugins/pmd/PmdReporter.java
          http://jenkins-ci.org/commit/pmd-plugin/3464ac5870cfa6b10091c4e9505414b2dfa32994
          Log:
          [FIXED JENKINS-4912] Fixed build health and threshold evaluation of m2
          jobs.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: pom.xml src/main/java/hudson/plugins/pmd/PmdReporter.java http://jenkins-ci.org/commit/pmd-plugin/3464ac5870cfa6b10091c4e9505414b2dfa32994 Log: [FIXED JENKINS-4912] Fixed build health and threshold evaluation of m2 jobs.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          pom.xml
          src/main/java/hudson/plugins/tasks/TasksReporter.java
          http://jenkins-ci.org/commit/tasks-plugin/11ccc2253112c88566f5b99906565b4e909a0e76
          Log:
          [FIXED JENKINS-4912] Fixed build health and threshold evaluation of m2
          jobs.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: pom.xml src/main/java/hudson/plugins/tasks/TasksReporter.java http://jenkins-ci.org/commit/tasks-plugin/11ccc2253112c88566f5b99906565b4e909a0e76 Log: [FIXED JENKINS-4912] Fixed build health and threshold evaluation of m2 jobs.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          plugin/src/main/java/hudson/plugins/findbugs/FindBugsReporter.java
          plugin/src/main/java/hudson/plugins/findbugs/MavenFindBugsResultAction.java
          http://jenkins-ci.org/commit/findbugs-plugin/d92bd4c723d49795812c37aa026c756cf20562b5
          Log:
          JENKINS-4912 Added build health/threshold evaluation for m2 jobs.
          Totally refactored the calculation code, introduced new parent class.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: plugin/src/main/java/hudson/plugins/findbugs/FindBugsReporter.java plugin/src/main/java/hudson/plugins/findbugs/MavenFindBugsResultAction.java http://jenkins-ci.org/commit/findbugs-plugin/d92bd4c723d49795812c37aa026c756cf20562b5 Log: JENKINS-4912 Added build health/threshold evaluation for m2 jobs. Totally refactored the calculation code, introduced new parent class.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/checkstyle/CheckStyleReporter.java
          src/main/java/hudson/plugins/checkstyle/MavenCheckStyleResultAction.java
          http://jenkins-ci.org/commit/checkstyle-plugin/e59aa3aa4bd2cf7d1752ebb926db34932b16395d
          Log:
          JENKINS-4912 Added build health/threshold evaluation for m2 jobs.
          Totally refactored the calculation code, introduced new parent class.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/checkstyle/CheckStyleReporter.java src/main/java/hudson/plugins/checkstyle/MavenCheckStyleResultAction.java http://jenkins-ci.org/commit/checkstyle-plugin/e59aa3aa4bd2cf7d1752ebb926db34932b16395d Log: JENKINS-4912 Added build health/threshold evaluation for m2 jobs. Totally refactored the calculation code, introduced new parent class.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/dry/DryReporter.java
          src/main/java/hudson/plugins/dry/MavenDryResultAction.java
          http://jenkins-ci.org/commit/dry-plugin/41673a36dc271b9253c47a99b0b820fb8aa09b21
          Log:
          JENKINS-4912 Added build health/threshold evaluation for m2 jobs.
          Totally refactored the calculation code, introduced new parent class.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/dry/DryReporter.java src/main/java/hudson/plugins/dry/MavenDryResultAction.java http://jenkins-ci.org/commit/dry-plugin/41673a36dc271b9253c47a99b0b820fb8aa09b21 Log: JENKINS-4912 Added build health/threshold evaluation for m2 jobs. Totally refactored the calculation code, introduced new parent class.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/pmd/MavenPmdResultAction.java
          src/main/java/hudson/plugins/pmd/PmdReporter.java
          http://jenkins-ci.org/commit/pmd-plugin/ac9535ecbcf6fe369e457bc488a601fa34abc6b3
          Log:
          JENKINS-4912 Added build health/threshold evaluation for m2 jobs.
          Totally refactored the calculation code, introduced new parent class.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/pmd/MavenPmdResultAction.java src/main/java/hudson/plugins/pmd/PmdReporter.java http://jenkins-ci.org/commit/pmd-plugin/ac9535ecbcf6fe369e457bc488a601fa34abc6b3 Log: JENKINS-4912 Added build health/threshold evaluation for m2 jobs. Totally refactored the calculation code, introduced new parent class.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/tasks/MavenTasksResultAction.java
          src/main/java/hudson/plugins/tasks/TasksReporter.java
          http://jenkins-ci.org/commit/tasks-plugin/bb911e923ec9964f6c810e76a9638ac93725a1ec
          Log:
          JENKINS-4912 Added build health/threshold evaluation for m2 jobs.
          Totally refactored the calculation code, introduced new parent class.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/tasks/MavenTasksResultAction.java src/main/java/hudson/plugins/tasks/TasksReporter.java http://jenkins-ci.org/commit/tasks-plugin/bb911e923ec9964f6c810e76a9638ac93725a1ec Log: JENKINS-4912 Added build health/threshold evaluation for m2 jobs. Totally refactored the calculation code, introduced new parent class.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          pom.xml
          src/main/java/hudson/plugins/analysis/core/AbstractResultAction.java
          src/main/java/hudson/plugins/analysis/core/BuildResult.java
          src/main/java/hudson/plugins/analysis/core/HealthAwareMavenReporter.java
          src/main/java/hudson/plugins/analysis/core/HealthAwarePublisher.java
          src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java
          src/main/java/hudson/plugins/analysis/core/Thresholds.java
          src/main/java/hudson/plugins/analysis/util/NullLogger.java
          src/main/java/hudson/plugins/analysis/util/PluginLogger.java
          src/main/java/hudson/plugins/analysis/util/StringPluginLogger.java
          src/main/resources/util/advancedMaven.jelly
          http://jenkins-ci.org/commit/analysis-core-plugin/a4b109a01c27acb7a824fd306fe4a104b7277047
          Log:
          JENKINS-4912 Added build health/threshold evaluation for m2 jobs.
          Totally refactored the calculation code, introduced new parent class.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: pom.xml src/main/java/hudson/plugins/analysis/core/AbstractResultAction.java src/main/java/hudson/plugins/analysis/core/BuildResult.java src/main/java/hudson/plugins/analysis/core/HealthAwareMavenReporter.java src/main/java/hudson/plugins/analysis/core/HealthAwarePublisher.java src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java src/main/java/hudson/plugins/analysis/core/Thresholds.java src/main/java/hudson/plugins/analysis/util/NullLogger.java src/main/java/hudson/plugins/analysis/util/PluginLogger.java src/main/java/hudson/plugins/analysis/util/StringPluginLogger.java src/main/resources/util/advancedMaven.jelly http://jenkins-ci.org/commit/analysis-core-plugin/a4b109a01c27acb7a824fd306fe4a104b7277047 Log: JENKINS-4912 Added build health/threshold evaluation for m2 jobs. Totally refactored the calculation code, introduced new parent class.
          Hide
          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/AbstractResultAction.java
          src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java
          src/main/java/hudson/plugins/analysis/core/MavenResultAction.java
          http://jenkins-ci.org/commit/analysis-core-plugin/6d5dbdb9fecc733771e2c421cb69b75a98858af3
          Log:
          JENKINS-4912 Created new action base class for maven aggregation.

          Show
          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/AbstractResultAction.java src/main/java/hudson/plugins/analysis/core/HealthAwareReporter.java src/main/java/hudson/plugins/analysis/core/MavenResultAction.java http://jenkins-ci.org/commit/analysis-core-plugin/6d5dbdb9fecc733771e2c421cb69b75a98858af3 Log: JENKINS-4912 Created new action base class for maven aggregation.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/dry/DryMavenResultAction.java
          http://jenkins-ci.org/commit/dry-plugin/fcc344ef58bf721507e48ecf8e6fbad8bc5d7a4a
          Log:
          JENKINS-4912 Created new action base class for maven aggregation.

          Compare: https://github.com/jenkinsci/dry-plugin/compare/41673a3...fcc344e

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/dry/DryMavenResultAction.java http://jenkins-ci.org/commit/dry-plugin/fcc344ef58bf721507e48ecf8e6fbad8bc5d7a4a Log: JENKINS-4912 Created new action base class for maven aggregation. Compare: https://github.com/jenkinsci/dry-plugin/compare/41673a3...fcc344e
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/checkstyle/CheckStyleMavenResult.java
          src/main/java/hudson/plugins/checkstyle/CheckStyleMavenResultAction.java
          src/main/java/hudson/plugins/checkstyle/CheckStyleReporter.java
          src/main/java/hudson/plugins/checkstyle/MavenCheckStyleResultAction.java
          http://jenkins-ci.org/commit/checkstyle-plugin/d49cbea93fc2e06975740946fa2d0e5793402fc8
          Log:
          JENKINS-4912 Created new action base class for maven aggregation.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/checkstyle/CheckStyleMavenResult.java src/main/java/hudson/plugins/checkstyle/CheckStyleMavenResultAction.java src/main/java/hudson/plugins/checkstyle/CheckStyleReporter.java src/main/java/hudson/plugins/checkstyle/MavenCheckStyleResultAction.java http://jenkins-ci.org/commit/checkstyle-plugin/d49cbea93fc2e06975740946fa2d0e5793402fc8 Log: JENKINS-4912 Created new action base class for maven aggregation.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          plugin/src/main/java/hudson/plugins/findbugs/FindBugsMavenResult.java
          plugin/src/main/java/hudson/plugins/findbugs/FindBugsMavenResultAction.java
          plugin/src/main/java/hudson/plugins/findbugs/FindBugsReporter.java
          plugin/src/main/java/hudson/plugins/findbugs/MavenFindBugsResultAction.java
          http://jenkins-ci.org/commit/findbugs-plugin/77661da54d46db3487b9122c59cf548624554216
          Log:
          JENKINS-4912 Created new action base class for maven aggregation.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: plugin/src/main/java/hudson/plugins/findbugs/FindBugsMavenResult.java plugin/src/main/java/hudson/plugins/findbugs/FindBugsMavenResultAction.java plugin/src/main/java/hudson/plugins/findbugs/FindBugsReporter.java plugin/src/main/java/hudson/plugins/findbugs/MavenFindBugsResultAction.java http://jenkins-ci.org/commit/findbugs-plugin/77661da54d46db3487b9122c59cf548624554216 Log: JENKINS-4912 Created new action base class for maven aggregation.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/pmd/MavenPmdResultAction.java
          src/main/java/hudson/plugins/pmd/PmdMavenResult.java
          src/main/java/hudson/plugins/pmd/PmdMavenResultAction.java
          src/main/java/hudson/plugins/pmd/PmdReporter.java
          http://jenkins-ci.org/commit/pmd-plugin/428235492b0f7512709d512be8bb8a97227c31c8
          Log:
          JENKINS-4912 Created new action base class for maven aggregation.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/pmd/MavenPmdResultAction.java src/main/java/hudson/plugins/pmd/PmdMavenResult.java src/main/java/hudson/plugins/pmd/PmdMavenResultAction.java src/main/java/hudson/plugins/pmd/PmdReporter.java http://jenkins-ci.org/commit/pmd-plugin/428235492b0f7512709d512be8bb8a97227c31c8 Log: JENKINS-4912 Created new action base class for maven aggregation.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          src/main/java/hudson/plugins/tasks/MavenTasksResultAction.java
          src/main/java/hudson/plugins/tasks/TasksMavenResult.java
          src/main/java/hudson/plugins/tasks/TasksMavenResultAction.java
          src/main/java/hudson/plugins/tasks/TasksReporter.java
          http://jenkins-ci.org/commit/tasks-plugin/39d025dd0cc38a73f046e48e27e842768736a831
          Log:
          JENKINS-4912 Created new action base class for maven aggregation.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/tasks/MavenTasksResultAction.java src/main/java/hudson/plugins/tasks/TasksMavenResult.java src/main/java/hudson/plugins/tasks/TasksMavenResultAction.java src/main/java/hudson/plugins/tasks/TasksReporter.java http://jenkins-ci.org/commit/tasks-plugin/39d025dd0cc38a73f046e48e27e842768736a831 Log: JENKINS-4912 Created new action base class for maven aggregation.
          Hide
          saihegde Sai Hegde added a comment -

          I have a project configured on Jenkins v1.424
          Since I have the 'Incremental build - only build changed modules' option checked, this shows the warnings only for the current build ignoring all from the previous build.

          Show
          saihegde Sai Hegde added a comment - I have a project configured on Jenkins v1.424 Since I have the 'Incremental build - only build changed modules' option checked, this shows the warnings only for the current build ignoring all from the previous build.

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              jhod jhod
            • Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: