fix(pipeline): update stash includes pattern to correctly include all files in the root directory

Signed-off-by: 孙振宇 <>
This commit is contained in:
孙振宇 2025-02-10 05:35:41 +08:00
parent 87f68cbd95
commit efc8b19fc1

View File

@ -333,7 +333,7 @@ def generateComponentStages(component, configurations) {
returnStdout: true returnStdout: true
) )
if (artifact == '.' || artifact == './') { if (artifact == '.' || artifact == './') {
stash includes: ".", name: "${component.name}-root" stash includes: "./*", name: "${component.name}-root"
} else if (targetPathType.trim() == "dir") { } else if (targetPathType.trim() == "dir") {
stash includes: "${artifact}/**", name: "${component.name}-${artifact}" stash includes: "${artifact}/**", name: "${component.name}-${artifact}"
} else { } else {