Apache9 commented on a change in pull request #1364: HBASE-24065 Enable 
SpotBugs in PreCommit
URL: https://github.com/apache/hbase/pull/1364#discussion_r398989248
 
 

 ##########
 File path: dev-support/Jenkinsfile_GitHub
 ##########
 @@ -156,11 +161,16 @@ pipeline {
                         }
                     }
                     environment {
+                        ////
                         // customized per parallel stage
-                        PLUGINS = "${JDK_SPECIFIC_PLUGINS}"
+                        //
+                        // run SpotBugs only once, and run it on JDK8.
+                        PLUGINS = "${JDK_SPECIFIC_PLUGINS},spotbugs"
 
 Review comment:
   The -fingbugs is from the release note of yetus, as the official way to 
enable spotbugs.
   
   https://issues.apache.org/jira/browse/YETUS-749
   
   Of course I haven't checked the code of yetus so maybe specify spotbugs also 
works.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to