Wraps clean up with stages

This commit is contained in:
Lukasz Lenart
2020-02-13 08:58:27 +01:00
parent e0fc6261d5
commit c352fd0072
Vendored
+9 -7
View File
@@ -16,14 +16,16 @@ pipeline {
stage('Prepare') {
agent {
node('ubuntu') {
stage('Clean Up') {
steps {
cleanWs deleteDirs: true, patterns: [[pattern: '**/target/**', type: 'INCLUDE']]
stages {
stage('Clean Up') {
steps {
cleanWs deleteDirs: true, patterns: [[pattern: '**/target/**', type: 'INCLUDE']]
}
}
}
stage('Checkout') {
steps {
checkout scm
stage('Checkout') {
steps {
checkout scm
}
}
}
}