You can set up triggers so that every time code is pushed to the specified branch of your repository, a build is automatically triggered on Bitrise.
By default, every new app you add will have a trigger that triggers a build every time code is pushed to any branch of your repository.
- Open your app on bitrise.io.
- Open the
- Select the
- In the existing trigger, click the
Push branchoption. If you have an existing trigger set up already, click the
+ ADD TRIGGERoption to set up a new one.
- Type in the name of the branch (for example,
master). Make sure there are no spelling errors, otherwise the trigger won’t work.
- Select the workflow you wish to trigger (for example,
Savein the top right corner.
You’re done! From now on, if code gets pushed to the selected branch of your app’s repository, Bitrise will trigger a build with the selected workflow!
You can schedule your builds to run automatically at a specific time of the week so that you can check your logs when it's most convenient for you.
Environment Variables (Env Vars) consist of a key and a value, as well as optional attributes. They can be defined on the level of apps, Workflows or Steps.
You can trigger and abort builds with the Bitrise API. Define parameters for the build: for example, branch, tag or git commit to use. Custom environment variables can be defined...