code: public Pipeline retryPipelineJob(Object projectIdOrPath, int pipelineId) throws GitLabApiException {
          GitLabApiForm formData = null;
          Response response = post(Response.Status.OK, formData, "projects", getProjectIdOrPath(projectIdOrPath), "pipelines", pipelineId, "retry");
          return (response.readEntity(Pipeline.class));
      }
docs: Retry a job in specified pipelines in a project.
  
  <pre><code>GitLab Endpoint: POST /projects/:id/pipelines/:pipeline_id/retry</code></pre>
  
  @param projectIdOrPath the project in the form of an Integer(ID), String(path), or Project instance
  @param pipelineId the pipeline ID to retry a job from
  @return pipeline instance which just retried
  @throws GitLabApiException if any exception occurs during execution