Skip to content

Commit

Permalink
Clean workspace after stages
Browse files Browse the repository at this point in the history
  • Loading branch information
hcho3 committed Apr 24, 2019
1 parent 0d7e3b6 commit b416711
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ pipeline {
}
milestone ordinal: 2
}
post {
always{
cleanWs()
}
}
}
stage('Build') {
agent none
Expand All @@ -64,6 +69,11 @@ pipeline {
}
milestone ordinal: 3
}
post {
always{
cleanWs()
}
}
}
stage('Test') {
agent none
Expand All @@ -84,6 +94,11 @@ pipeline {
}
milestone ordinal: 4
}
post {
always{
cleanWs()
}
}
}
}
}
Expand Down

0 comments on commit b416711

Please sign in to comment.