Search Unity

Can only select from the 10 first git branches on Cloud Build

Discussion in 'Unity Build Automation' started by abeldantas, Oct 25, 2018.

  1. abeldantas

    abeldantas

    Joined:
    Jul 28, 2013
    Posts:
    19
    When you have more than 10 branches you can only see the 10 branches to select from while configuring cloud build.

    They are sorted alphabetically.

    Can anyone else confirm this?
     
  2. victorw

    victorw

    Joined:
    Sep 14, 2016
    Posts:
    459
    Yeah it looks like Bitbucket changed their API to add a default limit on how much that path returns, the workaround for that is pretty easy though so it will be resolved by the next deploy of the build service

    As a temporary workaround you can also manually configure the build target using the Cloud Build API - the API doesn't check against Bitbucket to make sure the branch exists, it just assumes you know what you're doing (and if it doesn't exist, the worst that will happen is you'll have a failed build)
     
    abeldantas likes this.
  3. victorw

    victorw

    Joined:
    Sep 14, 2016
    Posts:
    459
    The quick fix for this (increasing the limit to 100 branches) was deployed this morning and the proper fix is currently in QA review for next deploy.
     
    abeldantas likes this.