fix: clean up repo before build

This commit is contained in:
Dany LE 2023-06-06 22:04:54 +02:00 committed by DanyLE
parent 8512d3c6ad
commit af58ca00f9

2
Jenkinsfile vendored
View File

@ -23,6 +23,8 @@ pipeline{
sh''' sh'''
cd $WORKSPACE cd $WORKSPACE
[ -d "$WORKSPACE/node_modules" ] && rm -rf "$WORKSPACE/node_modules" || true [ -d "$WORKSPACE/node_modules" ] && rm -rf "$WORKSPACE/node_modules" || true
[ -f "$WORKSPACE/package.json"] && rm "$WORKSPACE/package*.json" || true
npm install terser npm install terser
npm install uglifycss npm install uglifycss
npm install typescript@5.0 npm install typescript@5.0