Skip to content
Permalink
Browse files
[FIXED JENKINS-20307] Consider OneOffExecutors in Run.getExecutor()
  • Loading branch information
daniel-beck committed Aug 2, 2014
1 parent 551c968 commit 9379d1fefc49fbe8cf11bb96290a9924a6eb38cc
Showing with 5 additions and 0 deletions.
  1. +5 −0 core/src/main/java/hudson/model/Run.java
@@ -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;
}

0 comments on commit 9379d1f

Please sign in to comment.