-
Bug
-
Resolution: Not A Defect
-
Minor
-
None
-
Jenkins ver. 2.73.3, Workspace Cleanup Plugin 0.34
and
Jenkins ver. 2.176.3, Workspace Cleanup Plugin 0.37
This snippet compiles correctly, but the pattern is not included in ws-cleanup's box in the job config GUI:
job.publishers { cleanWs { cleanWhenAborted(true) cleanWhenFailure(true) cleanWhenNotBuilt(true) cleanWhenSuccess(true) cleanWhenUnstable(true) deleteDirs(true) patterns: [ [ pattern: '.propsfile', type: 'EXCLUDE' ] ] } }
Thank you for the help!