From dbdbe18632b4e53efa7cbb6cfe4e93a31bf30ff5 Mon Sep 17 00:00:00 2001 From: Divya Madala Date: Wed, 21 Feb 2024 14:53:14 -0800 Subject: [PATCH] fix errors in groovy library Signed-off-by: Divya Madala --- vars/validateArtifacts.groovy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vars/validateArtifacts.groovy b/vars/validateArtifacts.groovy index c33a0730e..e3e757c24 100644 --- a/vars/validateArtifacts.groovy +++ b/vars/validateArtifacts.groovy @@ -17,7 +17,7 @@ void call(Map args = [:]) { System.exit(1) } - sh(([ + sh([ '${WORKSPACE}/validation.sh', args.version ? "--version ${args.version}" : null, args."file-path" ? "--file-path ${args.file-path}" : null, @@ -33,5 +33,4 @@ void call(Map args = [:]) { args."validate-digest-only" ? '--validate-digest-only' : null, args."using-staging-artifact-only" ? '--using-staging-artifact-only' : null ].join(' ')) - }