jenkins: delete workspace after build

This commit is contained in:
Cenk Gündoğan 2017-01-15 11:49:56 +01:00
parent a42f4c0c2a
commit e40a271d0c
1 changed files with 4 additions and 0 deletions

4
Jenkinsfile vendored
View File

@ -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()
}
}
}