Build Android App
- POST
- /workspaces
- /:workspace
- /projects
- /:project_name
- /pipelines
- /:pipeline_id
- /actions
Creates a new Build Android App action in the pipeline
Request example
curl -X POST "https://api.buddy.works/workspaces/:workspace/projects/:project_name/pipelines/:pipeline_id/actions" \
-H "Authorization: Bearer <YOUR-TOKEN>" \
-H "Content-Type: application/json" \
-d '{
"name": "Build Android with Fastlane",
"type": "FASTLANE_ANDROID",
"trigger_time": "ON_EVERY_EXECUTION",
"build_tool_version": "34.0.0",
"shell": "BASH",
"setup_commands": [
"bundle install",
"fastlane update_plugins"
],
"execute_commands": [
"fastlane android beta"
],
"execute_every_command": true,
"variables": [
{
"key": "ANDROID_HOME",
"value": "/opt/android-sdk"
}
]
}'STATUS200 OK