docs: public static void fireFinalized(Run r) {
          if (Jenkins.getInstanceOrNull() == null) { // TODO use !Functions.isExtensionsAvailable() once JENKINS-33377
              return;
          }
          for (RunListener l : all()) {
              if(l.targetType.isInstance(r))
                  try {
                      l.onFinalized(r);
                  } catch (Throwable e) {
                      report(e);
                  }
          }
      }