Skip to content
Permalink
Browse files
Merge pull request #3 from jdewinne/master
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 8317afcb23693e91b21e2330577dcba2db2d1058
Showing 1 changed file with 4 additions and 0 deletions.
@@ -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

0 comments on commit 8317afc

Please sign in to comment.