Fastlane
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.
Select 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.
Add condition to task Make task run only when a certain condition is met.
You can find conditions on Atlassian Marketplace or implement your own.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 subdirectory A sub-directory which can be used as an alternative for the task. - Select 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:
output_types "junit"
- Add the JUnit Parser task to parse the results and point it to the Fastlane test output directory.
Last modified on Aug 10, 2021
Powered by Confluence and Scroll Viewport.