This Bitrise step simplify usage of Danger in Android projects.
To use this step in your project you just need to add this step definition to your bitrise.yml file under adequate workflow in steps key.
your_workflow:
steps:
- git::https://github.com/netguru/bitrise-step-danger-android.git@master:
title: Run Danger checks
is_always_run: true
If you have Dangerfile
in your project it will now be connected.
Danger step has several inputs to make configuration of plugins easier.
Those inputs are available in workflow editor and you can fill them from there.
Plugins and inputs connected with them that are used in step:
- danger-android_lint
- Gradle task for linter
- Path to linter report file
- danger-kotlin_detekt
- Enable Detekt reporting
- danger-junit
- Enable JUNIT reporting
- danger-jacoco
- Path to jacoco report file
- danger-slack
- Name of the Slack channel
- danger-jira
- Subdomain of Jira
- Jira keys of projects related to Pull Request - you can put here one value or multiple keys in format KEY1,KEY2 etc.
- danger-apkanalyzer
- Path to generated APK
If you leave any of inputs from plugin blank, this plugin will be skipped during step.
This project is made with ❤️ by Netguru.
Licensed under the MIT License. See License for more info.