docs: @SuppressWarnings("deprecation")
      public final void doBuildWithParameters(StaplerRequest req, StaplerResponse rsp, @QueryParameter TimeDuration delay) throws IOException, ServletException {
          hudson.model.BuildAuthorizationToken.checkPermission(asJob(), asJob().getAuthToken(), req, rsp);
  
          ParametersDefinitionProperty pp = asJob().getProperty(ParametersDefinitionProperty.class);
          if (!asJob().isBuildable()) {
              throw HttpResponses.error(SC_CONFLICT, new IOException(asJob().getFullName() + " is not buildable!"));
          }
          if (pp != null) {
              pp.buildWithParameters(req, rsp, delay);
          } else {
              throw new IllegalStateException("This build is not parameterized!");
          }
      }