fix(pipeline): log artifact list during stashing for better visibility
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
2edda6bf8e
commit
f9a98bead9
@ -320,6 +320,8 @@ 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)
|
||||||
|
log.info("Pipeline", "Artifacts list: ${artifactList}")
|
||||||
def targetPathType = sh(
|
def targetPathType = sh(
|
||||||
script: """
|
script: """
|
||||||
if [ -d "${artifact}" ]; then
|
if [ -d "${artifact}" ]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user