Added cleanup stage in Jenkinsfile.

This commit is contained in:
Harrison Deng 2022-05-12 02:47:20 -05:00
parent d513d3f6b5
commit 7d78c4715c

5
Jenkinsfile vendored
View File

@ -1,6 +1,11 @@
pipeline { pipeline {
agent any agent any
stages { stages {
stage("cleanup") {
steps {
cleanWs(patterns: [[pattern: 'publish/**', type: 'INCLUDE']])
}
}
stage("server launch test") { stage("server launch test") {
steps { steps {
dir('server') { dir('server') {