mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
CI: Fix missing script block in jenkinsfiles
Change-Id: I9f44a3d5085ea7880fad1a3883a4820907e29ea3
(cherry picked from commit 95213b01d2
)
This commit is contained in:
@@ -240,8 +240,10 @@ pipeline {
|
|||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
cleanup {
|
cleanup {
|
||||||
if (env.CLEANUP_WS_GATES.toBoolean()) {
|
script {
|
||||||
cleanWs deleteDirs: true, notFailBuild: false
|
if (env.CLEANUP_WS_GATES.toBoolean()) {
|
||||||
|
cleanWs deleteDirs: true, notFailBuild: false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
@@ -159,8 +159,10 @@ pipeline {
|
|||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
cleanup {
|
cleanup {
|
||||||
if (env.CLEANUP_WS_DAILIES.toBoolean()) {
|
script {
|
||||||
cleanWs deleteDirs: true, notFailBuild: false
|
if (env.CLEANUP_WS_DAILIES.toBoolean()) {
|
||||||
|
cleanWs deleteDirs: true, notFailBuild: false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
success {
|
success {
|
||||||
|
@@ -129,8 +129,10 @@ pipeline {
|
|||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
cleanup {
|
cleanup {
|
||||||
if (env.CLEANUP_WS_REF_DEBUG.toBoolean()) {
|
script {
|
||||||
cleanWs deleteDirs: true, notFailBuild: false
|
if (env.CLEANUP_WS_REF_DEBUG.toBoolean()) {
|
||||||
|
cleanWs deleteDirs: true, notFailBuild: false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
success {
|
success {
|
||||||
|
Reference in New Issue
Block a user