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

olamy pushed a commit to branch use_json_jenkins_api
in repository https://gitbox.apache.org/repos/asf/maven-dist-tool.git


The following commit(s) were added to refs/heads/use_json_jenkins_api by this 
push:
     new 4f99357  spotless
4f99357 is described below

commit 4f9935736c2874a401e88635e37aa9f53ac87506
Author: Olivier Lamy <[email protected]>
AuthorDate: Sun Mar 15 14:41:12 2026 +1000

    spotless
    
    Signed-off-by: Olivier Lamy <[email protected]>
---
 .../dist/tools/jobs/branches/ListBranchesReport.java    | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git 
a/src/main/java/org/apache/maven/dist/tools/jobs/branches/ListBranchesReport.java
 
b/src/main/java/org/apache/maven/dist/tools/jobs/branches/ListBranchesReport.java
index fcb9613..d8a6602 100644
--- 
a/src/main/java/org/apache/maven/dist/tools/jobs/branches/ListBranchesReport.java
+++ 
b/src/main/java/org/apache/maven/dist/tools/jobs/branches/ListBranchesReport.java
@@ -34,9 +34,6 @@ import java.util.stream.Collectors;
 import com.fasterxml.jackson.databind.JsonNode;
 import org.apache.maven.dist.tools.JsonRetry;
 import org.apache.maven.dist.tools.jobs.AbstractJobsReport;
-import reactor.core.publisher.Flux;
-import reactor.core.publisher.Mono;
-import reactor.core.scheduler.Schedulers;
 import org.apache.maven.doxia.sink.Sink;
 import org.apache.maven.doxia.sink.SinkEventAttributes;
 import org.apache.maven.doxia.sink.impl.SinkEventAttributeSet;
@@ -45,6 +42,9 @@ import org.apache.maven.reporting.MavenReportException;
 import org.eclipse.jgit.api.Git;
 import org.eclipse.jgit.api.errors.GitAPIException;
 import org.eclipse.jgit.lib.Ref;
+import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
+import reactor.core.scheduler.Schedulers;
 
 /**
  * Generate report with build status of the Jenkins job for the master branch 
of every Git repository in
@@ -187,12 +187,11 @@ public class ListBranchesReport extends 
AbstractJobsReport {
 
         List<Result> repoStatus = Flux.fromIterable(repositoryNames)
                 .flatMap(
-                        repo -> fetchResult(repo)
-                                .onErrorResume(e -> {
-                                    getLog().warn("Failed to read status for " 
+ repo + " Jenkins job "
-                                            + MAVENBOX_JOBS_BASE_URL + repo);
-                                    return Mono.empty();
-                                }),
+                        repo -> fetchResult(repo).onErrorResume(e -> {
+                            getLog().warn("Failed to read status for " + repo 
+ " Jenkins job " + MAVENBOX_JOBS_BASE_URL
+                                    + repo);
+                            return Mono.empty();
+                        }),
                         concurrency)
                 .collectList()
                 .block();

Reply via email to