ci: remove deleting workspace steps

Moved the deleting workspace to pipeline configuration.

Change-Id: I7c94d1a9bac514f1824988d21dfb3a144b10ca7e
This commit is contained in:
Egon Elbre 2021-09-27 14:37:06 +03:00
parent 0330871a3e
commit 7fd3466925

View File

@ -19,11 +19,6 @@ pipeline {
stages { stages {
stage('Checkout') { stage('Checkout') {
steps { steps {
cleanWs(
deleteDirs: true,
disableDeferredWipeout: true,
)
checkout scm checkout scm
sh 'mkdir -p .build' sh 'mkdir -p .build'
@ -349,11 +344,4 @@ pipeline {
} }
} }
} }
post {
always {
sh "chmod -R 777 ." // ensure Jenkins agent can delete the working directory
deleteDir()
}
}
} }