Run a Build

You can run a job’s build manually or configure the job to trigger it automatically on an SCM commit or according to a schedule:

Action How To

Run a build manually

Open the job’s details page and click Build Now.

Note:

If you've set up this job to run automatically on SCM commit, and you have specified Include/Exclude criteria, we'll show you a list of branches that match the pattern so you can pick one to build. For example, if your Include criteria is branch* and test*, then we'll show you all the branches that begin with those terms. If you specified Exclude instead, we'll show all the branches that don't begin with those terms—likely quite a few. If we don't find a branch that matches, we'll build your default branch instead.

You can also run a job’s build from the Jobs tab on the Builds page. In the selected job's row, click the Actions Actions menu and select Build.

Run a build on SCM commit

See Run a Build Automatically on an SCM Commit.

Run a build on a schedule

See Trigger a Build Automatically on a Schedule.

A job that takes more than eight hours to build will fail. If you know that a job's processes will take more than eight hours to execute, you should distribute those processes in multiple jobs and run them together in a pipeline.