From 13e1bb78f7b81dc402fd923e1ea1461daa0ba975 Mon Sep 17 00:00:00 2001 From: jianghao <332515344@qq.com> Date: Mon, 29 Dec 2025 15:24:13 +0800 Subject: [PATCH] Jenkins build --- Jenkinsfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 908bb3b..06f0ca8 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -59,12 +59,20 @@ pipeline { echo \"package.json found, proceeding with build\" npm install npm run build + echo \"Build completed, checking for dist directory:\" + ls -la + if [ -d \"dist\" ]; then + echo \"dist directory exists\" + else + echo \"ERROR: dist directory does not exist\" + exit 1 + fi else echo \"package.json not found\" exit 1 fi "''' - } + } } }