From b0a02850297b1c175690953045fe4e2fec895f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E6=8C=AF=E5=AE=87?= <> Date: Sat, 8 Feb 2025 11:28:10 +0800 Subject: [PATCH] fix(pipeline): update buildArtifacts paths to include all subdirectories MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 孙振宇 <> --- first-class-pipeline/tests/Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/first-class-pipeline/tests/Jenkinsfile b/first-class-pipeline/tests/Jenkinsfile index 7d8b0dd8..8071f451 100644 --- a/first-class-pipeline/tests/Jenkinsfile +++ b/first-class-pipeline/tests/Jenkinsfile @@ -42,7 +42,7 @@ executeFreeleapsPipeline { // buildCommand used to specify the build command of the component buildCommand: 'npm run build', // 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: false, // linter used to specify the code linter @@ -91,7 +91,7 @@ executeFreeleapsPipeline { // buildAgentImage used to specify the build environment container image buildAgentImage: 'python:3.8-slim-buster', // 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: true, // buildCommand used to specify the build command of the component