Trigger build externally and easily

Hi

I don’t need automatic builds for each commit, but I would like to be able to easily trigger builds when i want without having to log in, go through the dashboard etc.

Have you considered making a bot for slack, so you could just tell it to build a certain project then it informs your service via the api?

How about an IFTTT recipe, allowing you to select the project? Then you could link their Do button app or an external IOT button to trigger builds for your project.

What do you think?

:slight_smile:

I think you can use UCB HTTP API. Do not know where is the doc. Someone know?

I just found this

“A simple command line tool that triggers builds in Unity Cloud Build using it’s REST API located at”

Only run from a local script though, unless you setup Heroku, or Unity builds a slack bot or ifttt plugin :wink:

The Unity Cloud Build API documentation can be found here: Unity DevOps Build Automation

I use separate branch for cloud builds, it’s much more controlable and allow to continue working and commiting while build runs. All you need for triggering build is just pull changes from your branch into “cloud-build” and push it.

been googling for this,
apparently still no easy way to trigger build from custom commit message? (like having string “#build” on the commit)

*Had to do it myself then, heres the steps using github actions, to trigger based on commit message: