File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
gitlab4j-api/src/main/java/org/gitlab4j/api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -310,11 +310,11 @@ public Job getJob() throws GitLabApiException {
310310 }
311311
312312 /**
313- * Retrieve the job corresponding to the <code>$CI_JOB_TOKEN</code> environment variable.
313+ * Retrieve the job corresponding to the <code>$CI_JOB_TOKEN</code> environment variable. This works only when used without any authentication.
314314 *
315315 * <pre><code>GitLab Endpoint: GET /job?job_token=${ciJobToken}"</code></pre>
316316 *
317- * @return a single job corresponding to the passed token
317+ * @return a single job corresponding to the token passed as query parameter
318318 * @throws GitLabApiException if any exception occurs during execution
319319 */
320320 public Job getJob (final String ciJobToken ) throws GitLabApiException {
You can’t perform that action at this time.
0 commit comments