ci/steps.groovy
changeset 295 a04034567c92
parent 294 0f3980335d2b
child 300 ad960fb1bba1
equal deleted inserted replaced
294:0f3980335d2b 295:a04034567c92
   280             }
   280             }
   281         }
   281         }
   282     }
   282     }
   283 }
   283 }
   284 
   284 
       
   285 /**
       
   286  * Cleanup the workspace
       
   287  */
       
   288  def cleanup() {
       
   289     matrix ( configurations ) {
       
   290         stage ( "Cleanup - {${env.BUILD_TARGET}}") {
       
   291             cleanWs cleanWhenAborted: false, cleanWhenFailure: false, cleanWhenNotBuilt: false, cleanWhenUnstable: false
       
   292         }
       
   293     }
       
   294  }
       
   295 
   285 /*
   296 /*
   286  * Utility. Executes given block with credentials for upstream repository.
   297  * Utility. Executes given block with credentials for upstream repository.
   287  */
   298  */
   288 def withCredentialsForUpstream(block) {
   299 def withCredentialsForUpstream(block) {
   289     /*
   300     /*