You've already forked jenkins-lib
forked from jenkins/jenkins-lib
fix empty vrunnerSettings
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user