Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1348 from daniel-beck/JENKINS-20307
[FIXED JENKINS-20307] Consider OneOffExecutors in Run.getExecutor()
  • Loading branch information
daniel-beck committed Aug 27, 2014
2 parents 174786b + 9379d1f commit fe3b33a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions core/src/main/java/hudson/model/Run.java
Expand Up @@ -507,6 +507,11 @@ public boolean isLogUpdated() {
if(e.getCurrentExecutable()==this)
return e;
}
for (Executor e : c.getOneOffExecutors()) {
if(e.getCurrentExecutable()==this) {
return e;
}
}
}
return null;
}
Expand Down

0 comments on commit fe3b33a

Please sign in to comment.