Add cleanup stage
This commit is contained in:
@@ -118,13 +118,13 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
post {
|
stage('Cleanup') {
|
||||||
always {
|
agent any
|
||||||
node('principal') {
|
steps {
|
||||||
cleanWs()
|
cleanWs()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -78,12 +78,9 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stage('Cleanup') {
|
||||||
}
|
agent any
|
||||||
|
steps {
|
||||||
post {
|
|
||||||
always {
|
|
||||||
node('principal') {
|
|
||||||
cleanWs()
|
cleanWs()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user