code: public String getTrace(Object projectIdOrPath, int jobId) throws GitLabApiException {
          Response response = get(Response.Status.OK, getDefaultPerPageParam(),
                  "projects", getProjectIdOrPath(projectIdOrPath), "jobs", jobId, "trace");
          return (response.readEntity(String.class));
       }
docs: Get a trace of a specific job of a project
  
  <pre><code>GitLab Endpoint: GET /projects/:id/jobs/:id/trace</code></pre>
  
  @param projectIdOrPath id, path of the project, or a Project instance holding the project ID or path
  to get the specified job's trace for
  @param jobId the job ID to get the trace for
  @return a String containing the specified job's trace
  @throws GitLabApiException if any exception occurs during execution