Begin pipeline with cleanup.
This commit is contained in:
parent
439bdd51e5
commit
104fd548ee
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Reference in New Issue