Delete workspace when build is completed
This commit is contained in:
parent
dea378f78e
commit
660b7df562
1 changed files with 7 additions and 0 deletions
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
|
@ -40,6 +40,13 @@ pipeline {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('Delete Workspace') {
|
||||
steps {
|
||||
// Delete the workspace directory
|
||||
deleteDir()
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
|
|
Loading…
Reference in a new issue