message: Make sure to clean up after each build
diff: @@ -181,10 +181,14 @@ def makeBuildStages(matrixIndex, builds, lblExpr, settings) {
  {
  node(lblExpr) {
  stage(id) {
  + try {
  withEnv(buildEnvironments[lblExpr] ?: []) {
  buildSteps(buildType, settings['cmakeArgs'] ?: '')
  (settings['extraSteps'] ?: []).each { fun -> "$fun"() }
  }
  + } finally {
  + cleanWs()
  + }
  }
  }
  }
  