Skip to content
Browse files

[FIXED JENKINS-13073] wipeBeforeBuild no longer flushes the client

flushing the client is kind of a waste of time when wiping out the workspace during a checkout, since we're doing a force-sync immediately after anyways.
  • Loading branch information...
Rob Petti
Rob Petti committed Mar 15, 2012
1 parent 9ea05ba commit 1d951fc34682abc2cac895196210227e829e6ae2
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/main/java/hudson/plugins/perforce/
@@ -705,11 +705,9 @@ public boolean checkout(AbstractBuild build, Launcher launcher,
log.println("Clearing workspace...");
log.println("Clear workspace includes .repository ...");
flushWorkspaceTo0(depot, p4workspace, log);
} else {
log.println("Note: .repository directory in workspace (if exists) is skipped.");
flushWorkspaceTo0(depot, p4workspace, log);
List<FilePath> workspaceDirs = workspace.list(new WipeWorkspaceFilter());
for(FilePath dir : workspaceDirs){

0 comments on commit 1d951fc

Please sign in to comment.
You can’t perform that action at this time.