Update CI config
PUT/containers/:containerId/ci-config
The operation allows you to update CI config of a specific container and branch.
Request
Path Parameters
Possible values: non-empty
Query Parameters
Possible values: non-empty
Header Parameters
CodeNOW API Key
- application/vnd.codenow.v1+json
Body
required
Array [
]
build
object
nullable
The build section encompasses fields dedicated to configuring Continuous Integration (CI) pipelines themselves.
These settings allow users to define the environment variables, build container, and instance of pipeline necessary for building
artifacts seamlessly within their development workflows.
environmentVariables
object[]
nullable
The environmentVariables section configures custom environment variables
that are utilized within the Continuous Integration (CI) pipeline.
Possible values: non-empty
The name of the environment variable.
Possible values: non-empty
The value of the environment variable.
pipelines
object
nullable
The pipelines section defines and configures the specific pipelines
to be executed for release builds and preview builds.
Defines the pipeline id for performed release builds.
Available pipelines can be obtained through the /ci-pipelines endpoint.
Responses
- 200
- 400
- 401
- 403
- 404
- 429
- 500
CI config detail
- application/vnd.codenow.v1+json
- Schema
- Example (from schema)
Schema
Possible values: non-empty
{
"status": "string"
}
The request was unacceptable, often due to missing a required parameter.
No valid API key provided.
The API key doesn't have permissions to perform the request.
Resource not found.
Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.
Something went wrong on CodeNOW's end.