Moved cleanup step to be first.

This commit is contained in:
Harrison Deng 2022-04-25 03:56:41 -05:00
parent a2bbd112d9
commit 8801bea801

10
Jenkinsfile vendored
View File

@ -1,6 +1,11 @@
pipeline { pipeline {
agent any agent any
stages { stages {
stage("cleanup") {
steps {
cleanWs(patterns: [[pattern: '**/bin/Release', type: 'INCLUDE'], [pattern: 'props-linux-x64*', type: 'INCLUDE'], [pattern: 'props-win-x64*', type: 'INCLUDE']])
}
}
stage("Props.Shop") { stage("Props.Shop") {
stages { stages {
stage("Restore") { stage("Restore") {
@ -49,10 +54,5 @@ pipeline {
} }
} }
} }
stage("cleanup") {
steps {
cleanWs(patterns: [[pattern: '**/bin/Release', type: 'INCLUDE'], [pattern: 'props-linux-x64*', type: 'INCLUDE'], [pattern: 'props-win-x64*', type: 'INCLUDE']])
}
}
} }
} }