Skip to content

Commit

Permalink
Add cleanup workspace in each stage
Browse files Browse the repository at this point in the history
  • Loading branch information
kevangel79 authored and gek20 committed Apr 5, 2024
1 parent 8646579 commit 846c881
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ pipeline {
}
archiveArtifacts artifacts: '**/*.rpm', fingerprint: true
}
post {
always {
cleanWs()
}
}
}
stage ('Build Centos 7') {
agent {
Expand All @@ -44,6 +49,11 @@ pipeline {
}
archiveArtifacts artifacts: '**/*.rpm', fingerprint: true
}
post {
always {
cleanWs()
}
}
}
}
}
Expand Down

0 comments on commit 846c881

Please sign in to comment.