You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ie...@apache.org on 2019/03/26 15:31:25 UTC

[beam] branch master updated: [BEAM-6912] changed method name to spotBugs and pointed to right method via configuration

This is an automated email from the ASF dual-hosted git repository.

iemejia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 2d075ee  [BEAM-6912] changed method name to spotBugs and pointed to right method via configuration
     new 820a823  Merge pull request #8141: [BEAM-6912] Spotbugs causes error in SeedJob while parsing PreCommit_Java
2d075ee is described below

commit 2d075ee1dc19df21a9708ce9fbc65e087a4c9ff0
Author: Kasia Kucharczyk <ka...@polidea.com>
AuthorDate: Tue Mar 26 13:06:08 2019 +0100

    [BEAM-6912] changed method name to spotBugs and pointed to right method via configuration
---
 .test-infra/jenkins/job_PreCommit_Java.groovy | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/.test-infra/jenkins/job_PreCommit_Java.groovy b/.test-infra/jenkins/job_PreCommit_Java.groovy
index f186c2c..00a67b4 100644
--- a/.test-infra/jenkins/job_PreCommit_Java.groovy
+++ b/.test-infra/jenkins/job_PreCommit_Java.groovy
@@ -41,9 +41,11 @@ builder.build {
         checkStyle {
           pattern('**/build/reports/checkstyle/*.xml')
         }
-        spotbugs {
-          pattern('**/build/reports/spotbugs/*.xml')
-        }
+        configure { node ->
+          node / 'spotBugs' << 'io.jenkins.plugins.analysis.warnings.SpotBugs' {
+            pattern('**/build/reports/spotbugs/*.xml')
+          }
+       }
       }
       enabledForFailure(true)
     }