mirror of
https://github.com/apache/struts.git
synced 2026-08-05 06:36:58 +00:00
Wraps clean up with stages
This commit is contained in:
Vendored
+9
-7
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user