From f9a98bead95c4a7faadf10f267380eee09c1a54d 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:00:20 +0800 Subject: [PATCH] fix(pipeline): log artifact list during stashing for better visibility 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, 2 insertions(+) diff --git a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy index b4674d36..a21a04a3 100644 --- a/first-class-pipeline/vars/executeFreeleapsPipeline.groovy +++ b/first-class-pipeline/vars/executeFreeleapsPipeline.groovy @@ -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