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 {
310
310
}
311
311
312
312
/**
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.
314
314
*
315
315
* <pre><code>GitLab Endpoint: GET /job?job_token=${ciJobToken}"</code></pre>
316
316
*
317
- * @return a single job corresponding to the passed token
317
+ * @return a single job corresponding to the token passed as query parameter
318
318
* @throws GitLabApiException if any exception occurs during execution
319
319
*/
320
320
public Job getJob (final String ciJobToken ) throws GitLabApiException {
You can’t perform that action at this time.
0 commit comments