This page describes how to configure a Bamboo task to use Fastlane.
To configure a Fastlane task:
- Go to the Tasks configuration tab for the job.
Click the Add task button.
From the list of task types, select Fastlane.
Provide the Fastlane settings:
Field Description Tasks Description A description of the task, which is displayed in Bamboo. Disable this task Check, or clear, to selectively run this task. Executable The executable that is available to perform the task. The executable that you select will become one of the task's (and so, the job's) requirements. Lane The lane you want to execute. This field also allows you to define Fastlane properties such as param:paramValue. Environment variables Extra parameter variables. You can define multiple variables. Working sub-directory An sub-directory which can be used as an alternative for the task.
- Click Save.
Test result parsing:
Bamboo supports test report in the JUnit XML format. To allow Bamboo to recognise tests from the Fastlane process you must:
- Configure the Fastlane Scan to produce test output in the JUnit format:
Create ScanFile in your Fastlane directory with the following content:
- Add the JUnit Parser task to parse the results and point it to the Fastlane test output directory.