Search Unity

Cloud build keeps canceling in the last 2 weeks.

Discussion in 'Unity Build Automation' started by crazybeek, Sep 3, 2018.

  1. crazybeek

    crazybeek

    Joined:
    Aug 23, 2012
    Posts:
    46
    Anyone thoughts about the following error in the cloud build. It used to work fine for our project.
    But it's throwing the follow error over the last 10 days.
    It usually reaches a build time of 2hours before the services goes bananas.

    1: [11:42:56] WARNING: 'git lfs clone' is deprecated and will not be updated
    2: Build was canceled
    3: [13:43:07] Error(s) during clone:
    4: GIT: Error during clone: git lfs clone '--branch' 'Development_2.1' '--recursive' '--' studios/project.git' '/BUILD_PATH/studios.unity.default-windows-desktop-64-bit' 2>&1:
    5: Finished: CANCELED
     
  2. ollieblanks

    ollieblanks

    Unity Technologies

    Joined:
    Aug 21, 2017
    Posts:
    460
    Hi @crazybeek,

    The error message suggests that the Cloud Build service is not able to clone your Git repository.

    I would suggest making sure that you are able to run the same command that Cloud Build attempts on a machine outside of the network of your repository using the same authentication method and check for any errors in the console.

    Hope that helps.