jenkins: delete workspace after build
This commit is contained in:
parent
a42f4c0c2a
commit
e40a271d0c
|
@ -69,6 +69,8 @@ node ('master') {
|
|||
}
|
||||
step([$class: 'ArtifactArchiver', artifacts: "*_static-tests.log", fingerprint: true, allowEmptyArchive: true])
|
||||
}
|
||||
|
||||
deleteDir()
|
||||
}
|
||||
|
||||
stage("unittests") {
|
||||
|
@ -192,6 +194,8 @@ def make_build(label, board, desc, arg)
|
|||
} catch(e) {
|
||||
echo "${e.toString()}"
|
||||
currentBuild.result = 'FAILURE'
|
||||
} finally {
|
||||
deleteDir()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue