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 "''' - } + } } }