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.
- Open the navigation menu and click Developer Services. Under DevOps, click Projects.
- Select a project and then click the View all Build Pipelines link.
-
To edit a stage in the pipeline, follow these steps:
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())