diff --git a/Jenkinsfile b/Jenkinsfile index 47b6c35..13fb75b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -38,12 +38,20 @@ pipeline { } } } + + stage('Archivage des extraits') { + steps { + archiveArtifacts artifacts: '**/*.osm.bz2', fingerprint: true + } + } } post { always { - // Archive les artefacts .osm.bz2 - archiveArtifacts artifacts: '**/*.osm.bz2', allowEmptyArchive: true + cleanWs(cleanWhenNotBuilt: false, + deleteDirs: true, + notFailBuild: true + ) } } }