Child pages
  • Swabra

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


The plugin remembers the state of the file tree after the sources checkout and on next build start deletes all the newly added files.

Plugin can also ensure clean checkout directory and at the build start initiate clean checkout if there are any modified or deleted in the checkout directory.

The plugin also gives the ability to dump processes which lock the checkout directory before build finish (requires handle.exe)


Use Cleanup rules setting to specify newline or comma delimited set of +|-:checkout_dir_relative_path rules.
These rules tell Swabra what files and folders should be involved in files collection process.
If no +: or -: prefix is specified rule as treated as include.
A path can be checkout directory relative path or a mask with ant-style wild cards.

By default all paths are included.
Ignoring a directory leads to ignoring the whole it's content.
Rules on any path should come in order from more abstract to more concrete, e.g. use -:*/dir/* to exclude all dir folders and their content,
or -:some/dir, +:some/dir/inner to exclude some/dir folder and all it's content except inner subfolder and it's content.


Note that after removing some exclude rules it's advisable to run clean checkout.

Use Locking processes setting to inspect the checkout directory for processes locking files in this directory.
Choose Report or Kill options to get report about such processes in the build log or kill them.
Note that for locking processes detection handle.exe is required on agents. Click the Insatall SysInternals handle.exe link for downloading or uploading.