From a74cf391525a3e2f4c93844a5b1c46a8e7b86dd9 Mon Sep 17 00:00:00 2001 From: Dany LE Date: Tue, 6 Jun 2023 22:04:54 +0200 Subject: [PATCH] fix: clean up repo before build --- Jenkinsfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 5707df0..279ba04 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -23,6 +23,8 @@ pipeline{ sh''' cd $WORKSPACE [ -d "$WORKSPACE/node_modules" ] && rm -rf "$WORKSPACE/node_modules" || true + [ -f "$WORKSPACE/package.json"] && rm "$WORKSPACE/package*.json" || true + npm install terser npm install uglifycss npm install typescript@5.0