Jenkins build
Some checks failed
test/timeline-frontend/pipeline/head There was a failure building this commit
Some checks failed
test/timeline-frontend/pipeline/head There was a failure building this commit
This commit is contained in:
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@@ -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
|
||||
"'''
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user