ci: remove deleting workspace steps
Moved the deleting workspace to pipeline configuration. Change-Id: I7c94d1a9bac514f1824988d21dfb3a144b10ca7e
This commit is contained in:
parent
0330871a3e
commit
7fd3466925
@ -19,11 +19,6 @@ pipeline {
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
cleanWs(
|
||||
deleteDirs: true,
|
||||
disableDeferredWipeout: true,
|
||||
)
|
||||
|
||||
checkout scm
|
||||
|
||||
sh 'mkdir -p .build'
|
||||
@ -349,11 +344,4 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
always {
|
||||
sh "chmod -R 777 ." // ensure Jenkins agent can delete the working directory
|
||||
deleteDir()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user