clean the workspace when done

This commit is contained in:
2023-10-16 17:04:23 -07:00
parent eed17d61a3
commit 3097cb69aa
Vendored
+3
View File
@@ -78,5 +78,8 @@ pipeline {
failure {
mattermostSend channel: 'git-messages', color: 'danger', message: "[${JOB_NAME}](${JOB_URL}) [#${BUILD_NUMBER}](${BUILD_URL}) ([Gitea](${GIT_URL}))", text: "Build Failed"
}
always {
cleanWs deleteDirs: true, patterns: [[pattern: '*', type: 'INCLUDE']]
}
}
}