From 90aa576f6bb6de55700df07317ef979d6c4cbe87 Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Thu, 23 May 2024 16:38:01 -0700 Subject: [PATCH] Fix `--no-fail-fast` option --- .../java/org/jenkins/tools/test/PluginCompatTesterCli.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/jenkins/tools/test/PluginCompatTesterCli.java b/src/main/java/org/jenkins/tools/test/PluginCompatTesterCli.java index b295ff6e..347a06a8 100644 --- a/src/main/java/org/jenkins/tools/test/PluginCompatTesterCli.java +++ b/src/main/java/org/jenkins/tools/test/PluginCompatTesterCli.java @@ -158,9 +158,11 @@ public class PluginCompatTesterCli implements Callable { @CommandLine.Option( names = "--fail-fast", negatable = true, + defaultValue = "true", + fallbackValue = "true", description = "If multiple plugins are specified, fail the overall run after the first plugin failure occurs rather than continuing to test other plugins.") - private boolean failFast = true; + private boolean failFast; @Override public Integer call() throws PluginCompatibilityTesterException {