You can start builds on Bitrise either by:
- Manually starting one.
- Scheduling one for a specific time.
- Triggering them automatically by specifying a trigger event.
You can automatically trigger builds by specifying a trigger event and a workflow. You can specify multiple triggers, and add new triggers or remove existing ones any time you wish.
By default, every new app you add will have two triggers: one that triggers a build every time code is pushed to ANY branch of your repository, and another that triggers a build every time a pull request is opened within your repository. You can change or remove these, of course.
You can manage the triggers in the
Triggers section of the
Workflow Editor or you can directly edit the bitrise.yml of your app to set them up. In this section of our DevCenter, we cover how to set up and manage triggers on the website UI!
- Triggering builds with code push
- Triggering builds with pull requests
- Triggering builds with Git Tags
- Starting parallel builds with a single trigger
- Reporting the build status to your git hosting provider
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...