Moved cleanup step to be first.
This commit is contained in:
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@@ -1,6 +1,11 @@
|
||||
pipeline {
|
||||
agent any
|
||||
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") {
|
||||
stages {
|
||||
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']])
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user