fix: clean up repo before build
Some checks failed
gitea-sync/antos/pipeline/head There was a failure building this commit

This commit is contained in:
Dany LE 2023-06-06 22:04:54 +02:00 committed by GitHub
parent 89df515868
commit 982fb86dc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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