Skip to main content

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

    containerId stringrequired

    Possible values: non-empty

Query Parameters

    branch stringrequired

    Possible values: non-empty

Header Parameters

    X-Codenow-Api-Key anyrequired

    CodeNOW API Key

Body

required

    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.

  • Array [

  • name stringrequired

    Possible values: non-empty


    The name of the environment variable.

    value stringrequired

    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.

    release stringrequired


    Defines the pipeline id for performed release builds.
    Available pipelines can be obtained through the /ci-pipelines endpoint.

Responses

CI config detail

Schema

    status stringrequired

    Possible values: non-empty

Loading...