deleteDirectory()
Deletes a directory from an agent machine. Ensure you have your directory syntax correct for Windows vs. OS X/ Linux. To ensure all sub-directories and files are also removed, check the Recursively delete subdirectories and files checkbox.
Operating systems supported: Windows, OS X, Linux
Example
deleteDirectory("#localfolder#", "Recursively delete", "All Operating Systems", "Halt on Fail")