code: private Run<?,?> find(Run<?,?> b) {
          for ( ; b!=null && !apply(b); b=b.getPreviousBuild())
              ;
          return b;
      }
docs: Start from the build 'b' and locate the build that matches the criteria going back in time