fix(pipeline): update shell command syntax for artifact listing in stashing process

Signed-off-by: 孙振宇 <>
This commit is contained in:
孙振宇 2025-02-10 06:07:36 +08:00
parent f9a98bead9
commit 205c8446b4

View File

@ -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: """