Begin pipeline with cleanup.

This commit is contained in:
Robert Jacob 2017-07-08 22:43:26 +02:00
parent 439bdd51e5
commit 104fd548ee
1 changed files with 12 additions and 1 deletions

13
Jenkinsfile vendored
View File

@ -1,6 +1,18 @@
pipeline {
agent any
stages {
stage('Cleanup') {
steps {
deleteDir()
}
}
stage('Checkout build') {
steps {
checkout scm
}
}
stage('Checkout sources') {
steps {
checkout([
@ -39,7 +51,6 @@ pipeline {
}
}
stage('Apply patches') {
steps {
dir("source") {