commit | bd176d7c7be465a70fc37401068af40afcb82c81 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <matteo.scandolo@gmail.com> | Wed Feb 03 10:55:25 2021 -0800 |
committer | Matteo Scandolo <matteo.scandolo@gmail.com> | Wed Feb 03 10:55:25 2021 -0800 |
tree | 2593ef04139f2239860de3d7977773771cc6f1c3 | |
parent | 42f6e570e5e8b4fdff72f8255abd95c3107b65b5 [diff] [blame] |
[VOL-3780] Importing keywords from the global library Change-Id: I7445bb938d5a4b3e9d0f714080e2ddba7cb3a944
diff --git a/vars/loadToKind.groovy b/vars/loadToKind.groovy index 520aee2..7df6bc5 100644 --- a/vars/loadToKind.groovy +++ b/vars/loadToKind.groovy
@@ -19,7 +19,12 @@ def list = images.split("\n") for(int i = 0;i<list.size();i++) { - def image = list[i] + def image = list[i].trim() + + if (!image) { + return + } + println "Loading image ${image} on Kind cluster ${cfg.name}" sh """