Fetch Branches

JFrog Pipelines Documentation

Products
JFrog Pipelines
Content Type
User Guide
ft:sourceType
Paligo

When one or more branches are created for a Multibranch pipeline source, the webhooks may not be processed correctly, resulting in those branches not being added to the pipeline source.

Pipelines can automatically fetch and sync missing branches in a multibranch pipeline source based on the selected SCM integration and the full name of the repository.

To do this:

  1. Click the Actions button for the multibranch pipeline, and then click Fetch Branches.

    180127232.png

    The Fetch Branches window appears.

  2. In the Branch field, you can either:

    • Enter the name of the branch you want to fetch and sync.

      or

    • Click the Fetch Branches button to try to automatically fetch all the branches based on the configured SCM integration and repository.

      If one or more branches are found, they are listed in the drop-down menu.

  3. Click to select the relevant branches.

    180127233.png
  4. Click Confirm to sync the pipeline source.

    The newly found branches are now listed on the Pipeline Sources page.