Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Automatically downloading from cloud build

Discussion in 'Unity Build Automation' started by StevenHolwerda, Aug 30, 2018.

  1. StevenHolwerda

    StevenHolwerda

    Joined:
    Aug 11, 2017
    Posts:
    9
    I'm using a patching application to create deltas and distribute my applications. To do this, I manually go to unity cloud, make sure a build has started, wait for the build to finish, download the build, run the patching software and then upload the patch (to Azure blob storage). There must be a better/more automated way!

    The patching software has a command line interface so it should definitely be doable but I don't have much experience with this type of thing. Does anyone have any tips for automating this process?

    As a side note, I'm thinking it might be a good idea to do this process on a VM (to stop my processing speed and terrible uploading speed from being blocked up by this process). This would also benefit from the automation of the above process.

    Any tips/suggestions/advice is super welcome!
     
  2. timtunity3d

    timtunity3d

    Unity Technologies

    Joined:
    Oct 1, 2015
    Posts:
    124
    You can use the Notifications feature to have CloudBuild post back to a webhook when your build is finished. Then you could write a script to download the build, run the patch software, and upload it.
     
  3. StevenHolwerda

    StevenHolwerda

    Joined:
    Aug 11, 2017
    Posts:
    9
    Thanks :)
    Any ideas what would be good to write the script in? I'm thinking maybe a batch file?
     
  4. Morbeavus

    Morbeavus

    Joined:
    Feb 21, 2016
    Posts:
    3
  5. tonemcbride

    tonemcbride

    Joined:
    Sep 7, 2010
    Posts:
    1,077
    victorw likes this.