Search Unity

[Feature Request] Build on Github pull request.

Discussion in 'Unity Build Automation' started by jamessa, Mar 23, 2015.

  1. jamessa

    jamessa

    Joined:
    Feb 25, 2015
    Posts:
    4
    A build status on Github pull request will be awesome.

    Recent, we introduced a broken build from our design who accidentally removed the assets which costs us several ours to figure out. A build status on request will save it totally. And we'd love to pay for this kind of service.

    Our pull request follows git flow always starts with "feature/".

    Please consider this feature. Also if you think this is useful, please reply to this thread.
     
    ModLunar and Claytonious like this.
  2. dannyd

    dannyd

    Unity Technologies

    Joined:
    Jun 3, 2014
    Posts:
    786
    This is a really cool idea. Just to make sure I understand what you are asking for:
    1. Your build is setup to build off of master (or whatever branch you want to build from)
    2. Someone commits changes to feature/cool-new-feature and submits a pull request
    3. UCB notices the pull request and builds using this new branch (feature/cool-new-feature) and lets you know whether that was successful.
    So basically you would use it to verify that a given pull request will build successfully, correct?
     
  3. jamessa

    jamessa

    Joined:
    Feb 25, 2015
    Posts:
    4
    That's absolutely right. Right now, Travis-CI.com can do this and provide build status in pull request directly. Because build on *development* branch is already too late.
     

    Attached Files:

  4. vogonistic

    vogonistic

    Joined:
    Aug 31, 2016
    Posts:
    1
    This is a bump and a second on the request to support automatic builds on pull requests and reporting back the status with a webhook.
     
  5. lucasblucas

    lucasblucas

    Joined:
    Oct 8, 2013
    Posts:
    3
    Claytonious likes this.
  6. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    904
    Was there ever any movement on this?
     
  7. Snupiman

    Snupiman

    Joined:
    Sep 7, 2012
    Posts:
    34
    Yeah, I would love to know this as well. Is this feature already implemented?
     
  8. pravusjif

    pravusjif

    Joined:
    Jul 24, 2012
    Posts:
    18
    I'm interested in this as well!
     
  9. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    904
    ... and runs unit tests to make sure those pass.
     
    ModLunar likes this.
  10. jasonatkaruna

    jasonatkaruna

    Joined:
    Feb 26, 2019
    Posts:
    64
    This is the only thing preventing my team from considering unity cloud.
     
  11. ttermeer-reboundcg

    ttermeer-reboundcg

    Joined:
    Jul 12, 2017
    Posts:
    62
    This can easily be achieved with webhooks. We have done this for pull request on Azure DevOps (VSTS) which trigger a webhook to create a new config in UCB and build it.
     
    ModLunar likes this.
  12. Claytonious

    Claytonious

    Joined:
    Feb 16, 2009
    Posts:
    904
    Any news on this?
     
  13. ModLunar

    ModLunar

    Joined:
    Oct 16, 2016
    Posts:
    374
    Ahh, I would definitely love this!
    Maybe I need to look into the webhooks approach :)
     
  14. Fangh

    Fangh

    Joined:
    Apr 19, 2013
    Posts:
    278
    I would like that too