ci: use cleanup instead of always step in post steps

Simply appropriate.
https://www.jenkins.io/doc/book/pipeline/syntax/#post

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-10-26 11:58:37 +02:00
parent 2c2337a45d
commit 4f60c31282
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
7 changed files with 7 additions and 7 deletions

View File

@ -96,6 +96,6 @@ pipeline {
post {
success { script { github.notifyPR(true) } }
failure { script { github.notifyPR(false) } }
always { cleanWs() }
cleanup { cleanWs() }
}
}

View File

@ -85,6 +85,6 @@ pipeline {
post {
success { script { github.notifyPR(true) } }
failure { script { github.notifyPR(false) } }
always { cleanWs() }
cleanup { cleanWs() }
}
}

View File

@ -108,6 +108,6 @@ pipeline {
post {
success { script { github.notifyPR(true) } }
failure { script { github.notifyPR(false) } }
always { cleanWs() }
cleanup { cleanWs() }
}
}

View File

@ -77,6 +77,6 @@ pipeline {
post {
success { script { github.notifyPR(true) } }
failure { script { github.notifyPR(false) } }
always { cleanWs() }
cleanup { cleanWs() }
}
}

View File

@ -144,6 +144,6 @@ pipeline {
post {
success { script { github.notifyPR(true) } }
failure { script { github.notifyPR(false) } }
always { cleanWs() }
cleanup { cleanWs() }
}
}

View File

@ -99,6 +99,6 @@ pipeline {
post {
success { script { github.notifyPR(true) } }
failure { script { github.notifyPR(false) } }
always { cleanWs(disableDeferredWipeout: true) }
cleanup { cleanWs(disableDeferredWipeout: true) }
}
}

View File

@ -78,6 +78,6 @@ pipeline {
post {
success { script { github.notifyPR(true) } }
failure { script { github.notifyPR(false) } }
always { cleanWs() }
cleanup { cleanWs() }
}
}