fix(pipeline): update stash includes pattern to correctly include all files in subdirectories
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
efc8b19fc1
commit
2edda6bf8e
@ -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 {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user