jenkins-job-builder/tests/wrappers/fixtures/workspace-cleanup001.xml
Jeff Grafton 13fa71cd82 Update workspace-cleanup to support newer options
This commit adds support for controlling whether cleanup runs via a job
parameter and using an external deletion command.

Change-Id: Ib80317c0e4cf95526ed59b719a1fd8df9c5e3f4f
2016-05-02 14:05:02 -07:00

17 lines
552 B
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<buildWrappers>
<hudson.plugins.ws__cleanup.PreBuildCleanup plugin="ws-cleanup">
<patterns>
<hudson.plugins.ws__cleanup.Pattern>
<pattern>*.py</pattern>
<type>EXCLUDE</type>
</hudson.plugins.ws__cleanup.Pattern>
</patterns>
<deleteDirs>false</deleteDirs>
<cleanupParameter>DO_WS_CLEANUP</cleanupParameter>
<externalDelete>shred -u %s</externalDelete>
</hudson.plugins.ws__cleanup.PreBuildCleanup>
</buildWrappers>
</project>