mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-23 05:35:58 +08:00
ci: call cleanWs after each step
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
This commit is contained in:
6
ci/Jenkinsfile
vendored
6
ci/Jenkinsfile
vendored
@ -48,7 +48,11 @@ def setupStep(nodeLabel, f) {
|
||||
|
||||
def run = nodeLabel != 'windows' ? this.&sh : this.&bat
|
||||
|
||||
f(run)
|
||||
try {
|
||||
f(run)
|
||||
} finally {
|
||||
cleanWs()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user