From 512fd5e90c09a97c60024c271b155fe01b7b138b Mon Sep 17 00:00:00 2001 From: Dima Date: Tue, 19 Mar 2024 17:15:13 +0300 Subject: [PATCH] fix empty vrunnerSettings --- src/ru/pulsar/jenkins/library/steps/LoadExtensions.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ru/pulsar/jenkins/library/steps/LoadExtensions.groovy b/src/ru/pulsar/jenkins/library/steps/LoadExtensions.groovy index ddec66e..dcb406b 100644 --- a/src/ru/pulsar/jenkins/library/steps/LoadExtensions.groovy +++ b/src/ru/pulsar/jenkins/library/steps/LoadExtensions.groovy @@ -63,7 +63,7 @@ class LoadExtensions implements Serializable { loadCommand += ' --ibconnection "/F./build/ib"' String vrunnerSettings = getVrunnerSettings(this.config, this.stageName) - if (steps.fileExists(vrunnerSettings)) { + if (vrunnerSettings && steps.fileExists(vrunnerSettings)) { loadCommand += " --settings $vrunnerSettings" }