Skip to content

Commit

Permalink
Merge pull request #3 from jdewinne/master
Browse files Browse the repository at this point in the history
JENKINS-16778: Timestamper makes the build fail if the slave is put offline during the build.
  • Loading branch information
StevenGBrown committed May 5, 2013
2 parents 09ec702 + 54dc741 commit 8317afc
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -62,6 +62,10 @@ public ConsoleAnnotator<Object> newInstance(Object context) {
* @return the offset in bytes
*/
private static long getOffset(StaplerRequest request) {
// Rare case where a Jenkins slave is put offline, while build job is still running
if (null == request) {
return 0;
}
String path = request.getPathInfo();
if (path == null) {
// JENKINS-16438
Expand Down

0 comments on commit 8317afc

Please sign in to comment.