- Home
- Builds
- Starting builds
- Starting builds manually
Starting builds manually
You can start builds manually by selecting the app you need from your Dashboard and clicking the Start/Schedule build button.
Starting a build manually on Bitrise takes literally two clicks - if you leave everything on the default settings. If you do not wish to do that, or at least want to be sure what the default settings are, read on!
To start a build using the basic configuration options:
-
On the Bitrise CI page of your app, find the Start build button and click the button with the clock icon next to it.
-
Enter the branch you want to run into the Branch input field.
You can only set one branch. If a pull request to your repository is made from a forked branch, type the name of that branch to run a build of the pull request.
Pull request build
Starting a build of a pull request’s branch is NOT the same as a pull request build. The manually started build of a pull request branch will only build the state of the code on that branch. An automatically triggered pull request build, however, builds the state of the code as it will look like once you merged the pull request.
-
Optionally, enter a build message in the Message field.
Please note that entering the Git commit message of a specific commit doesn't trigger a build of that commit!
-
Select a Workflow that will run from the Workflow menu.
If you don't select one, Bitrise will choose a Workflow based on your app's trigger map
Scheduling a build
The Schedule this build option allows you to configure builds to be triggered at specific times. Read more: Scheduling builds.
Running Workflows from the Workflow Editor
You can manually start a build by running a single Workflow from the Workflow Editor.
To do so:
-
Open your app on Bitrise and click the Workflows button to open the Workflow Editor.
-
On the Workflows tab, use the WORKFLOW drop-down menu to select the Workflow you would like to run.
-
Click Run Workflow.
-
Specify the branch that you want to build in the Branch field.
-
Click Run Workflow to start the build.
And that's it! As soon as you click the Run Workflow button, your build will be kicked off, and the build's page will open in a new tab.
Advanced configuration options for starting/scheduling builds
If you choose Advanced in the Build configuration window, you have all the options available with Basic, and a few more:
-
Git Tag: Builds a particular branch or commit that is tagged with the Tag you enter. If you set this, you can't set a commit hash.
Git Tags and commit hashes are conflicting options
You cannot specify both a Git Tag and a commit hash. When you set one, the other one will disappear. This ensures you cannot enter conflicting input values.
-
Commit Hash: Copy a specific commit’s hash here to build that particular commit. This option can even send a build status update to your git hosting service. If you set this, you can't set a Git Tag.
Commit hash takes precedence over the Branch option
If the Branch option specifies a branch where the commit hash you chose doesn't exist, Bitrise will find the branch that does have the given commit and run a build with that branch.
-
Custom Environment Variables: Create a custom Environment Variable that is used in the build. See Setting a custom Env Var when starting a build.
-
Generated cURL command: Based on the options you set in the Build configuration window, we provide an automatically generated cURL command. This can be copied and pasted, and you can run it on any platform that has cURL installed.
A Workflow is a collection of Steps, Environment Variables, and other configurations. When Bitrise starts a build, it runs one or more Workflows according to the configuration defined in the bitrise.yml
file.
The Bitrise Workflow Editor allows you to edit your Workflows, configure Steps, upload files (including code signing files) and manage your app's triggers and stacks on a graphical user interface. It is available both online and offline.