Skip to content

Commit b1f0aee

Browse files
authored
Refer the documentation of the actual endpoint for status reference
The pipeline API can report more statuses than the ones we can send with the commit status endpoint. Better not introduce confusion by referring to the actual endpoint we're calling.
1 parent c6124a0 commit b1f0aee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ Also make sure you have chosen the appropriate GitLab instance from the 'GitLab
345345
}
346346
}
347347
```
348-
* Or use the `updateGitlabCommitStatus` step to use a custom value for updating the commit status. You could use try/catch blocks or other logic to send fine-grained status of the build to GitLab. Valid statuses are defined by GitLab and documented here: https://docs.gitlab.com/ce/api/pipelines.html
348+
* Or use the `updateGitlabCommitStatus` step to use a custom value for updating the commit status. You could use try/catch blocks or other logic to send fine-grained status of the build to GitLab. Valid statuses are defined by GitLab and documented here: https://docs.gitlab.com/ee/api/commits.html#post-the-build-status-to-a-commit
349349
```groovy
350350
node() {
351351
stage('Checkout') { checkout <your-scm-config> }

0 commit comments

Comments
 (0)