Jenkinsfile: move cleaning action in post/cleanup section (#31437)
This commit is contained in:
parent
4c04187f47
commit
31dc47946d
|
@ -39,13 +39,13 @@ pipeline {
|
|||
}
|
||||
post {
|
||||
always {
|
||||
sh "rm -rf ${env.TMPDIR}"
|
||||
script {
|
||||
utils = new Utils()
|
||||
utils.mail_notify(currentBuild, env, 'admin+jenkins-authentic@entrouvert.com')
|
||||
}
|
||||
}
|
||||
success {
|
||||
cleanup {
|
||||
sh "rm -rf ${env.TMPDIR}"
|
||||
cleanWs()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue