fix(pipeline): update buildArtifacts paths to include all subdirectories

Signed-off-by: 孙振宇 <>
This commit is contained in:
孙振宇 2025-02-08 11:28:10 +08:00
parent 7f7b125705
commit b0a0285029

View File

@ -42,7 +42,7 @@ executeFreeleapsPipeline {
// buildCommand used to specify the build command of the component // buildCommand used to specify the build command of the component
buildCommand: 'npm run build', buildCommand: 'npm run build',
// buildArtifacts used to specify the build artifacts that needs to be stores and shares between components // buildArtifacts used to specify the build artifacts that needs to be stores and shares between components
buildArtifacts: ['dist'], buildArtifacts: ['dist/**'],
// lintEnabled used to specify whether to enable code lint // lintEnabled used to specify whether to enable code lint
lintEnabled: false, lintEnabled: false,
// linter used to specify the code linter // linter used to specify the code linter
@ -91,7 +91,7 @@ executeFreeleapsPipeline {
// buildAgentImage used to specify the build environment container image // buildAgentImage used to specify the build environment container image
buildAgentImage: 'python:3.8-slim-buster', buildAgentImage: 'python:3.8-slim-buster',
// buildArtifacts used to specify the build artifacts that needs to be stores and shares between components // buildArtifacts used to specify the build artifacts that needs to be stores and shares between components
buildArtifacts: ['.'], buildArtifacts: ['./**'],
// buildCacheEnabled used to specify whether to enable build dependencies cache // buildCacheEnabled used to specify whether to enable build dependencies cache
buildCacheEnabled: true, buildCacheEnabled: true,
// buildCommand used to specify the build command of the component // buildCommand used to specify the build command of the component