Editing a Build Pipeline Stage

Update information such as the name and description, and the associated stage details of a build pipeline.

For accessing DevOps using the Oracle Cloud Console, REST API, and CLI, see Accessing DevOps.

    1. Open the navigation menu and click Developer Services. Under DevOps, click Projects.
    2. Select a project and then click the View all Build Pipelines link.
    3. To edit a stage in the pipeline, follow these steps:
      1. Click the Actions menu Actions Menu to the right of the stage that you want to edit and select View details.
      2. Click Edit Stage.
      3. In the Edit stage panel, make the necessary changes to the stage details and click Save changes.
        You can select the Custom shape option to modify the build runner configuration by selecting required OCPUs and amount of memory (in GB).
  • To update a Managed Build stage, run the update-build-stage command:

    oci devops build-pipeline-stage update-build-stage --stage-id

    Required parameter:

    --stage-id

    Optional parameter for configuring the build runner shape is:

    --build-runner-config

    To update a Deliver Artifacts stage, run the update-deliver-artifact-stage command:

    oci devops build-pipeline-stage update-deliver-artifact-stage --stage-id

    To update a Trigger Deployment stage, run the update-trigger-deployment-stage command:

    oci devops build-pipeline-stage update-trigger-deployment-stage --stage-id

    To update a Wait stage, run the update-wait-stage command:

    oci devops build-pipeline-stage update-wait-stage --stage-id

    To get all the commands for build-pipeline-stage:

    oci devops build-pipeline-stage -h
  • To update a build pipeline stage, use the UpdateBuildPipelineStage operation.

    In addition to the UpdateBuildStageDetails request, you must add one of the given attributes:

    .buildRunnerShapeConfig(CustomBuildRunnerShapeConfig.builder().ocpus(<no_of_ocpus>).memoryInGBs(<memory_in_gbs>).build())
    .buildRunnerShapeConfig(DefaultBuildRunnerShapeConfig.builder().build())