fix(pipeline): update shell command syntax for artifact listing in stashing process
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
f9a98bead9
commit
205c8446b4
@ -320,7 +320,7 @@ def generateComponentStages(component, configurations) {
|
|||||||
}
|
}
|
||||||
component.buildArtifacts.each { artifact ->
|
component.buildArtifacts.each { artifact ->
|
||||||
log.info("Pipeline", "Stashing artifact ${artifact} for ${component.name}...")
|
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}")
|
log.info("Pipeline", "Artifacts list: ${artifactList}")
|
||||||
def targetPathType = sh(
|
def targetPathType = sh(
|
||||||
script: """
|
script: """
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user