Jenkinsfile: always clean build directories

This commit is contained in:
Benjamin Dauvergne 2020-11-27 10:13:54 +01:00
parent 51ba6a17d4
commit a5a92b627d
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -44,7 +44,7 @@ PGPORT=`python -c 'import struct; import socket; s=socket.socket(); s.setsockopt
utils.mail_notify(currentBuild, env, 'ci+jenkins-authentic2-cut@entrouvert.org')
}
}
success {
cleanup {
sh "find ${env.TMPDIR} -type f -delete; rm -rf ${env.TMPDIR}"
cleanWs()
}