Loading...


Related Products


What should I do when encountering a missing build branch error?

Description

Build stageJobError messageCategoryResponsibility
DeployCreate Acquia CDEThe build branch '<BRANCH_NAME>' is missing from Acquia Cloud PlatformApplicationCustomer

Potential cause

This error occurs during merge requests if one of the following is true:

  • The ACQUIA_JOBS_CREATE_BRANCH_ARTIFACT environment variable is not set to true. The branch artifact must be created so that it can be pushed to Cloud Platform.
  • The source branch exists on a fork instead of the main repository.

Solution

  • To create the branch artifact:
    1. Add the ACQUIA_JOBS_CREATE_BRANCH_ARTIFACT environment variable to your project.
    2. Set the value of ACQUIA_JOBS_CREATE_BRANCH_ARTIFACT to true.

      For more information, see Adding environment variables.

  • If the source branch does not exist in the main repository:
    1. Push the source branch to the main Code Studio project repository.
    2. Create the merge request without using a forked repository.
  • Before you create a merge request using the target branch:

    1. Ensure that the target branch successfully passes a Code Studio pipeline.
    2. Deploy the target branch to Cloud Platform.

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Back to Section navigation
Back to Site navigation