Updating the Bitbucket Server Configuration Source Provider for a Stack

Update the Bitbucket Server configuration source provider used by a stack in Resource Manager. The updated configuration source provider is used when you run jobs on the stack.

For more information about configuration source providers, see Managing Configuration Source Providers.

    1. On the Stacks list page, find the stack that you want to work with. If you need help finding the list page or the stack, see Listing Stacks.
    2. From the Actions menu (Actions Menu) for the stack, select Edit.
    3. On the Edit stack page, select a different Bitbucket Server configuration source provider.
      If you need to create a Bitbucket Server configuration source provider, select Create configuration source provider and enter values. For information about these fields, see Creating a Bitbucket Server Configuration Source Provider.
    4. Select the Bitbucket Server project, repository, and branch.
    5. Change other values as needed.
      For information about the fields, see Creating a Stack from Bitbucket Server.
    6. Select Next twice.
    7. Select Save changes.
  • Use the oci resource-manager stack update command and required parameters to update a stack's Bitbucket Server configuration source provider.

    oci resource-manager stack update --stack-id <stack_OCID>

    For a complete list of parameters and values for CLI commands, see the Command Line Reference for Resource Manager.

  • Use the UpdateStack operation to update the Bitbucket Server configuration source provider used by a stack.

    For an example of the configSource part of the request, see UpdateBitbucketServerConfigSourceDetails.