title: Jenkins - kill process before delete workspace action starts
body: <p>I am having a Jenkins job that runs Nunit tests on remote machine.
  I am using Jenkins's Workspace Cleanup Plugin pluggin (<a href="https://wiki.jenkins-ci.org/display/JENKINS/Workspace+Cleanup+Plugin" rel="nofollow noreferrer">https://wiki.jenkins-ci.org/display/JENKINS/Workspace+Cleanup+Plugin</a>) to clean my workspace.</p>
  
  <p>the problem is that I want to task kill some process on my machine (because otherwise I could not delete the workspace - some files will be in use and threfore could not be deleted) and I want to do it <strong>before</strong> the delete action takes place (it is always the first action on the job).</p>
  
  <p>I know that there is an option in the pluggin- "External Deletion Command" - but this runs the command on <em>all the files in the workspace</em> where as I need it to run only once (not on a the sepsific workspace files - i.e. only this command: "c:/workspace/taskill nunit")</p>
  
  <p>is there a way to do so?
  Thanks</p>