From bb740b63e26c55426de90f05a1a17e94e3e19e52 Mon Sep 17 00:00:00 2001 From: Tom Solem Date: Tue, 1 Jun 2021 09:20:30 +0200 Subject: [PATCH] Fix illegal string value (#59) --- vars/acePushConfigToGit.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vars/acePushConfigToGit.groovy b/vars/acePushConfigToGit.groovy index 56d79fd..1aadb0a 100644 --- a/vars/acePushConfigToGit.groovy +++ b/vars/acePushConfigToGit.groovy @@ -4,7 +4,7 @@ void call(Map opts = [:]) { target = readYaml file: 'target-data/target.yaml' cfg = readYaml file: opts.aceFile ?: 'ace.yaml' - sh "gitOpsfolder=$(mktemp -d gitOpsXXXXXX)" + sh "gitOpsfolder=\$(mktemp -d gitOpsXXXXXX)" Map gitops = cfg.gitops ?: [:] String gitopsRepo = gitops.repo String strategy = gitops.strategy ?: 'path'