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

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


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

commit 955047a0bff86ccf2bdb445394938d980be729f5
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 8aa3dfe..29ff14f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -138,8 +138,8 @@
     
<maven-build-helper-plugin.version>1.9.1</maven-build-helper-plugin.version>
     <maven-enforcer-plugin.version>3.0.0-M3</maven-enforcer-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