fix 'dir' wrap inside 'steps' section

This commit is contained in:
Ruben Abad 2024-01-31 00:25:02 +01:00
parent 759273aa33
commit b9ae2e9ac9
1 changed files with 8 additions and 8 deletions

16
Jenkinsfile vendored
View File

@ -201,9 +201,9 @@ pipeline
stage('TEST: ubuntu Doxygen upload') stage('TEST: ubuntu Doxygen upload')
{ {
when { branch "ruben/jenkins_migration"; } when { branch "ruben/jenkins_migration"; }
dir('doc_repo') steps
{ {
steps dir('doc_repo')
{ {
checkout scmGit( checkout scmGit(
branches: [[name: '*/ruben/jenkins_migration']], branches: [[name: '*/ruben/jenkins_migration']],
@ -229,15 +229,15 @@ pipeline
''' '''
} }
} }
post
}
post
{
always
{ {
always deleteDir()
{
deleteDir()
}
} }
} }
} }
} }
post post