fix(pipeline): add logging for stashing root directory in pipeline execution
Signed-off-by: 孙振宇 <>
This commit is contained in:
parent
f05e032387
commit
b906867e36
@ -335,6 +335,7 @@ def generateComponentStages(component, configurations) {
|
|||||||
returnStdout: true
|
returnStdout: true
|
||||||
)
|
)
|
||||||
if (artifact == '.' || artifact == './') {
|
if (artifact == '.' || artifact == './') {
|
||||||
|
log.info("Pipeline", "Stashing root directory for ${component.name}...")
|
||||||
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}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user