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

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


The following commit(s) were added to refs/heads/master by this push:
     new 10ef717  PHOENIX-5032 PHOENIX-6146 (addendum:update spotbugs,feed test 
results to Jenkins)
10ef717 is described below

commit 10ef717118efc2061d10ca3143aad19ad8c5b1dc
Author: Istvan Toth <[email protected]>
AuthorDate: Thu Oct 1 20:04:37 2020 +0200

    PHOENIX-5032 PHOENIX-6146 (addendum:update spotbugs,feed test results to 
Jenkins)
---
 Jenkinsfile.github          | 1 +
 dev/docker/Dockerfile.yetus | 4 ++++
 pom.xml                     | 4 ++--
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile.github b/Jenkinsfile.github
index c385781..ad8cb1f 100644
--- a/Jenkinsfile.github
+++ b/Jenkinsfile.github
@@ -118,6 +118,7 @@ pipeline {
                     post {
                         always {
                             // Has to be relative to WORKSPACE.
+                            junit testResults: 
"${WORKDIR_REL}/${PATCH_REL}/**/target/**/TEST-*.xml", allowEmptyResults: true
                             archiveArtifacts artifacts: 
"${WORKDIR_REL}/${PATCH_REL}/*", excludes: 
"${WORKDIR_REL}/${PATCH_REL}/precommit"
                             archiveArtifacts artifacts: 
"${WORKDIR_REL}/${PATCH_REL}/**/*", excludes: 
"${WORKDIR_REL}/${PATCH_REL}/precommit/**/*"
                             publishHTML target: [
diff --git a/dev/docker/Dockerfile.yetus b/dev/docker/Dockerfile.yetus
index 848dfd3..a34676a 100644
--- a/dev/docker/Dockerfile.yetus
+++ b/dev/docker/Dockerfile.yetus
@@ -30,3 +30,7 @@ RUN rm -rf /opt/spotbugs \
     && cd .. \
     && rm -rf ./spotbugs
 ENV SPOTBUGS_HOME /opt/spotbugs
+#####
+# Enable spotbugs prefix for maven
+#####
+RUN sed -i -e 
's/<\/pluginGroups>/<pluginGroup>com.github.spotbugs<\/pluginGroup><\/pluginGroups>/'
 /etc/maven/settings.xml
diff --git a/pom.xml b/pom.xml
index 74c708f..3bbf098 100644
--- a/pom.xml
+++ b/pom.xml
@@ -133,8 +133,8 @@
     <maven-enforcer-plugin.version>3.0.0-M3</maven-enforcer-plugin.version>
     
<maven-antlr-eclipse-plugin.version>${antlr.version}</maven-antlr-eclipse-plugin.version>
     
<maven-project-info-reports-plugin.version>3.1.1</maven-project-info-reports-plugin.version>
-    <spotbugs-maven-plugin.version>4.0.4</spotbugs-maven-plugin.version>
-    <spotbugs.version>4.1.2</spotbugs.version>
+    <spotbugs-maven-plugin.version>4.1.3</spotbugs-maven-plugin.version>
+    <spotbugs.version>4.1.3</spotbugs.version>
     <jacoco-maven-plugin.version>0.8.5</jacoco-maven-plugin.version>
 
     <!-- Plugin options -->

Reply via email to