Skip to content
Permalink
Browse files

[FIXED JENKINS-18846] Update symlinks for Maven module builds.

Originally-Committed-As: a92e9da978262c6a7e4d74d3b2750319cbc748fb
  • Loading branch information
jglick committed Aug 20, 2013
1 parent a18e8a6 commit 3a7e8116feced00bd2f8d1dc6cd071032e3fab0d
Showing with 9 additions and 0 deletions.
  1. +9 −0 src/main/java/hudson/maven/MavenBuild.java
@@ -41,6 +41,7 @@
import hudson.model.Result;
import hudson.model.Run;
import hudson.model.TaskListener;
import hudson.model.listeners.RunListener;
import hudson.remoting.Channel;
import hudson.scm.ChangeLogSet;
import hudson.scm.ChangeLogSet.Entry;
@@ -73,6 +74,7 @@
import java.util.List;
import java.util.Map;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.annotation.CheckForNull;

@@ -497,6 +499,7 @@ public void start() {
} catch (IOException e) {
e.printStackTrace();
}
RunListener.fireStarted(MavenBuild.this, listener);
}

public void end() {
@@ -512,6 +515,12 @@ public void end() {
} catch (IOException e) {
e.printStackTrace();
}
try {
updateSymlinks(listener);
} catch (InterruptedException x) {
Logger.getLogger(MavenBuild.class.getName()).log(Level.WARNING, null, x);
}
RunListener.fireCompleted(MavenBuild.this, listener);
}

/**

0 comments on commit 3a7e811

Please sign in to comment.