fix(pipeline): log artifact list during stashing for better visibility

Signed-off-by: 孙振宇 <>
This commit is contained in:
孙振宇 2025-02-10 06:00:20 +08:00
parent 2edda6bf8e
commit f9a98bead9

View File

@ -320,6 +320,8 @@ 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)
log.info("Pipeline", "Artifacts list: ${artifactList}")
def targetPathType = sh(
script: """
if [ -d "${artifact}" ]; then