clean only on failed build
Gitea/subman-nextjs/pipeline/head There was a failure building this commit Details

This commit is contained in:
andrzej 2024-10-03 18:22:14 +02:00
parent a5c6f9d3cb
commit ee0e714f2e
1 changed files with 3 additions and 1 deletions

4
Jenkinsfile vendored
View File

@ -28,7 +28,9 @@ agent any
cleanWs(cleanWhenNotBuilt: true, cleanWs(cleanWhenNotBuilt: true,
deleteDirs: true, deleteDirs: true,
disableDeferredWipeout: true, disableDeferredWipeout: true,
notFailBuild: true, // notFailBuild: true,
cleanWhenSuccess:false,
cleanWhenNotBult:true,
patterns: [[pattern: '**/*', type: 'INCLUDE'], patterns: [[pattern: '**/*', type: 'INCLUDE'],
[pattern: '.propsfile', type: 'EXCLUDE']]) [pattern: '.propsfile', type: 'EXCLUDE']])
} }