docs: public void buildEnvironment(Run<?,?> build, EnvVars env) {
          if (build instanceof AbstractBuild) {
              buildEnvVars((AbstractBuild) build, env);
          }
          // else do not know how to do it
      }