From 205c8446b40a8b84032701d37d252a3ab9adf112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E6=8C=AF=E5=AE=87?= <> Date: Mon, 10 Feb 2025 06:07:36 +0800 Subject: [PATCH] fix(pipeline): update shell command syntax for artifact listing in stashing process MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 孙振宇 <> --- first-class-pipeline/vars/executeFreeleapsPipeline.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy index a21a04a3..e550d02e 100644 --- a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy +++ b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy @@ -320,7 +320,7 @@ def generateComponentStages(component, configurations) { } component.buildArtifacts.each { artifact -> log.info("Pipeline", "Stashing artifact ${artifact} for ${component.name}...") - def artifactList = sh.script("ls -al", returnStdout: true) + def artifactList = sh(script: "ls -al", returnStdout: true) log.info("Pipeline", "Artifacts list: ${artifactList}") def targetPathType = sh( script: """