}catch (InterruptedException e){
if(buildConfiguration !=null && Iterables.isEmpty(buildConfiguration.getLinkCleanupCommands())){
ShellCommands cleanupCommands = new ShellCommands();
cleanupCommands.addAll(buildConfiguration.getLinkCleanupCommands());
new ShellScriptRunner(buildExecutionContext, listener).runScript(cleanupCommands);
}
throw e;
}
}