Skip to content

Commit 6304f43

Browse files
committed
Fix Javadoc
1 parent 75cbedf commit 6304f43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitlab4j-api/src/main/java/org/gitlab4j/api/JobApi.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)