ci_lint
Validate a CI/CD configuration
Validates a provided CI/CD configuration in the context of a specified project.
post/api/v4/projects/{id}/ci/lint
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID or URL-encoded path of the project
Request body
Response
Validate a CI/CD configuration
Example response
{
"errors": [
"variables config should be a hash of key value pairs"
],
"warnings": [
"jobs:job may allow multiple pipelines ..."
],
"merged_yaml": "---\\n:another_test:\\n :stage: test\\n\n :script: echo 2\\n:test:\\n :stage: test\\n :script: echo 1\\n",
"includes": [
{
"blob": "https://gitlab.com/root/example-project/-/blob/..."
}
],
"jobs": [
{
"name": "test",
"script": [
"ls"
]
}
]
}Changes
No recorded changes to this operation across all 5 revisions of this API.