Skip to content

Commit

Permalink
Merge pull request #14 from arothian/master
Browse files Browse the repository at this point in the history
[FIXED JENKINS-22447] Fix workspace lock release for ivy build
  • Loading branch information
arothian committed Apr 25, 2014
2 parents 2a19326 + 25deb53 commit cff77d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/hudson/ivy/IvyBuild.java
Expand Up @@ -468,6 +468,8 @@ public void post2(BuildListener listener) throws Exception {

@Override
public void cleanUp(BuildListener listener) throws Exception {
super.cleanUp(listener);

// at this point it's too late to mark the build as a failure, so ignore return value.
performAllBuildSteps(listener, reporters,false);
performAllBuildSteps(listener, project.getProperties(),false);
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/hudson/ivy/IvyModuleSetBuild.java
Expand Up @@ -612,6 +612,8 @@ protected void post2(BuildListener listener) throws Exception {

@Override
public void cleanUp(BuildListener listener) throws Exception {
super.cleanUp(listener);

if (project.isAggregatorStyleBuild()) {
// schedule downstream builds. for non aggregator style builds,
// this is done by each module
Expand Down

0 comments on commit cff77d0

Please sign in to comment.