From 8727ffafcb9683e9e235afc75577debf32fc2a46 Mon Sep 17 00:00:00 2001 From: Jesse Glick Date: Tue, 22 Feb 2022 12:33:31 -0500 Subject: [PATCH] Pass `--errors` to Maven invocations --- .../java/org/jenkins/tools/test/maven/ExternalMavenRunner.java | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins-compat-tester/src/main/java/org/jenkins/tools/test/maven/ExternalMavenRunner.java b/plugins-compat-tester/src/main/java/org/jenkins/tools/test/maven/ExternalMavenRunner.java index 63f555528..0283e3fe6 100644 --- a/plugins-compat-tester/src/main/java/org/jenkins/tools/test/maven/ExternalMavenRunner.java +++ b/plugins-compat-tester/src/main/java/org/jenkins/tools/test/maven/ExternalMavenRunner.java @@ -57,6 +57,7 @@ public void run(Config config, File baseDirectory, File buildLogFile, String... cmd.add(mvn != null ? mvn.getAbsolutePath() : "mvn"); cmd.add("--show-version"); cmd.add("--batch-mode"); + cmd.add("--errors"); cmd.add(DISABLE_DOWNLOAD_LOGS); if (config.userSettingsFile != null) { cmd.add("--settings=" + config.userSettingsFile);