From 5e80379a128e2a87f65a56f40f2bbbb3eebba703 Mon Sep 17 00:00:00 2001 From: Darin Pope Date: Tue, 2 Feb 2021 12:05:30 -0500 Subject: [PATCH] more --- vars/loadLinuxScript.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/loadLinuxScript.groovy b/vars/loadLinuxScript.groovy index 647ee5b4..347cc04e 100644 --- a/vars/loadLinuxScript.groovy +++ b/vars/loadLinuxScript.groovy @@ -1,4 +1,4 @@ -def call(Map config) { +def call(Map config = [:]) { def scriptcontents = libraryResource "com/planetpope/scripts/linux/${config.name}" writeFile file: "${config.name}", text: scriptcontents sh "chmod a+x ./${config.name}"