From 7e127fe04f0fe346fc8733de3b2f1e182a9a02ff Mon Sep 17 00:00:00 2001 From: Pexers Date: Mon, 17 Jun 2024 21:21:21 +0100 Subject: [PATCH] style: fix CI style checks Signed-off-by: Pexers --- .../plugins/ansible/AbstractAnsibleInvocation.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/jenkinsci/plugins/ansible/AbstractAnsibleInvocation.java b/src/main/java/org/jenkinsci/plugins/ansible/AbstractAnsibleInvocation.java index 9fb9dc7..b5b5ed3 100644 --- a/src/main/java/org/jenkinsci/plugins/ansible/AbstractAnsibleInvocation.java +++ b/src/main/java/org/jenkinsci/plugins/ansible/AbstractAnsibleInvocation.java @@ -134,7 +134,11 @@ public ArgumentListBuilder appendExtraVars(ArgumentListBuilder args) { // assuming Groovy representation for Boolean values if (value.equals("true") || value.equals("false")) { // JSON format is required for Boolean variables - sb.append("{\"").append(envVars.expand(var.getKey())).append("\":").append(value).append("}"); + sb.append("{\"") + .append(envVars.expand(var.getKey())) + .append("\":") + .append(value) + .append("}"); } else { sb.append(envVars.expand(var.getKey())).append("=").append(value); }