- Home
- Workflows and Pipelines
- Workflows
- Default Pipelines and Workflows
Default Pipelines and Workflows
When you add a new project on bitrise.io, one or two Workflows are created automatically, depending on your project.
When you add a new project on bitrise.io, we create initial Pipelines and Workflows for you. These are called default Pipelines and Workflows. A default Pipeline consists of default Workflows.
You can use these to run your tests or create installable binaries such as IPAs or APKs. Feel free to modify the default Pipelines and Workflows to suit your needs.
Default Pipelines
Default Pipelines are created for all new iOS and Android projects. These Pipelines consist of automatically created default Workflows.
Pipeline ID |
Pipeline summary |
Workflows within the Pipeline |
---|---|---|
|
Builds your iOS project, runs your Xcode tests in two parallel shards. The number of shards is specified in the env var |
|
Pipeline ID |
Pipeline summary |
Workflows within the Pipeline |
---|---|---|
|
Run your Android instrumented tests in two parallel test shards and get a test report. The number of shards is specified in the env var |
|
Default Workflows for an iOS project
For a new iOS project, Bitrise automatically generates several Workflows. You can customize these Workflows or create new ones based on them.
Workflow ID |
Workflow summary |
Workflow description |
---|---|---|
|
Run your project’s tests. |
The Workflow clones your Git repository, installs Node Version Manager (NVM) and select the Node version, restores cached |
|
Builds your Xcode project ready for testing. |
The Workflow clones your Git repository, builds your app ready for testing, apportions tests into each test shard and deploys the app plus tests to Bitrise so they can be used in subsequent Workflows. This Workflow is part of a default Pipeline. |
|
Tests your iOS app without needing to rebuild it. |
Retrieves the app and tests from the preceding Workflow in a Pipeline and tests compiled bundles using Xcode’s This Workflow is part of a default Pipeline. |
|
Run your Xcode tests and create an IPA file to install your app on a device or share it with your team. |
The Workflow clones your Git repository, caches and installs your project’s dependencies if there are any, runs your Xcode tests, and exports an IPA file from the project. |
|
Builds your Xcode project. Tests not foundThis Workflow is generated only if the project scanner didn't find any tests configured in your Xcode project. |
The Workflow clones your Git repository, caches and installs your project’s dependencies if there are any, and builds your project. It uses Xcode's build for testing action. |
Default Workflows for an Android project
For a new Android project, Bitrise automatically generates three new Workflows. You can customize these Workflows or create new ones based on them.
Workflow ID |
Workflow summary |
Workflow description |
---|---|---|
|
Run your Android unit tests and get the test report. |
The Workflow clones your Git repository, caches your Gradle dependencies, installs Android tools, runs your Android unit tests and saves the test report. |
|
Run your Android unit tests and create an APK file to install your app on a device or share it with your team. |
The Workflow clones your Git repository, installs Android tools, sets the project’s version code based on the build number, runs Android lint and unit tests, builds the project’s APK file and save it. |
|
Run your Android instrumented tests with test sharding and get a test report. |
The Workflow clones your Git repository, caches your Gradle dependencies, installs Android tools, boots up an Android emulator to run your Android instrumented tests and saves the test report. This Workflow is part of a default Pipeline which utilizes parallelism: it runs multiple copies of the Workflow to shard instrumented tests. |
Default Workflows for a Node.js project
Bitrise generates one default Workflow for a Node.js project: a Workflow to run your project's lint and test scripts. You can customize this Workflow or create new ones based on it.
Workflow ID |
Workflow summary |
Workflow description |
---|---|---|
|
Run your project’s tests. |
The Workflow clones your Git repository, selects and installs the Node version, installs the |
Default Workflows for multiplatform projects
For multiplatform projects - projects that aren't native iOS or Android mobile apps but created with some mobile development framework, such as React Native, Flutter, Ionic or Cordova -, Bitrise creates two default Workflows: primary
and deploy
.
The exact Steps included in these default Workflows depend on the project type. However, the main goals of the two Workflows are the same, regardless of project type:
-
The
primary
Workflow clones your project's repository, installs and caches your dependencies, and runs any tests configured in the project. -
The
deploy
Workflow, in addition to installing and caching dependencies and running tests, also builds your project: it tries to generate an APK or IPA file.
For more details about what the default Workflows include for different project types, try out our demo apps!
A Bitrise Pipeline is the top level of the Bitrise CI/CD configuration. Pipelines can be used to organize the entire CI/CD process and to set up advanced configurations with multiple different tasks running parallel and/or sequentially.
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 project scanner is a tool that identifies the given project’s type and generates a basic Bitrise configuration. Each supported project type has its own scanner: these scanners are stored as separate packages.