fix jenkinsfile

This commit is contained in:
kirill.labutin 2026-08-13 22:18:55 +03:00
parent 53a0e87234
commit 29a2863520
1 changed files with 5 additions and 1 deletions

6
Jenkinsfile vendored
View File

@ -56,8 +56,12 @@ pipeline {
post {
always {
script {
if (env.VERSION ==~ /^\d+\.\d+\.\d+\.\d+$/) {
sh "docker rmi pfsdn:${env.VERSION} || true"
}
}
cleanWs()
sh "docker rmi pfsdn:${env.VERSION}"
}
}
}