diff --git a/JenkinsFile b/JenkinsFile index 6d8503b..c76bad4 100644 --- a/JenkinsFile +++ b/JenkinsFile @@ -2,6 +2,12 @@ pipeline { agent any tools {nodejs "NodeJS"} stages { + stage('Clean Workspace') { + steps { + // Clean workspace before build + cleanWs() + } + } stage('Clone Repository') { steps { // Clone the repository