Skip to content
Permalink
Browse files

[FIXED JENKINS-20487] call postBuild after module build completion

fingerprints are managed by MavenFingerprinter
  • Loading branch information...
ndeloof committed Nov 29, 2013
1 parent e053661 commit 0af0bb8de5a9fa7652c03776e36db7bdae000404
@@ -553,7 +553,7 @@ private void recordProjectEnded(ExecutionEvent event, Result result) {

for ( MavenReporter mavenReporter : fixNull(mavenReporters)) {
try {
mavenReporter.leaveModule( mavenBuildProxy2, event.getProject(), maven3Builder.listener);
mavenReporter.postBuild( mavenBuildProxy2, event.getProject(), maven3Builder.listener);
} catch ( InterruptedException e ) {
e.printStackTrace();
} catch ( IOException e ) {
@@ -125,7 +125,7 @@ public boolean postBuild(MavenBuildProxy build, MavenProject pom, final BuildLis
}

// record the action
build.executeAsync(new MavenBuildProxy.BuildCallable<Void, IOException>() {
build.execute(new MavenBuildProxy.BuildCallable<Void, IOException>() {
private static final long serialVersionUID = -7955474564875700905L;

public Void call(MavenBuild build) throws IOException, InterruptedException {
@@ -139,10 +139,6 @@ public Void call(MavenBuild build) throws IOException, InterruptedException {
repositoryId);
build.addAction(mar);

// TODO kutzi: why are the fingerprints recorded here?
// I thought that is the job of MavenFingerprinter
mar.recordFingerprints();

return null;
}
});

0 comments on commit 0af0bb8

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