title: Jenkins job fails to remove directory
body: <p>I am running make script(Execute Shell command option) inside a jenkins job.<br>
  The make script has <code>rm -rf &lt;directory name&gt;</code> shell command. <br/>
  This command fails with error saying the Directory is not empty. Since script uses <code>rm -rf</code> it should work even if directory is not empty.<br/>
  Not sure what is wrong here. <br/>
  Any help around this will be much appreciated.</p>