Sign Android App with YAML

YAML parameters for Sign Android App

You can find the list with common parameters for all Buddy actions here.

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to ANDROID_SIGN.
local_path
Required
StringThe path to the generated .apk file.
application_name
Required
StringThe name of the signed APK file.
key_path
Required
StringThe path to the authorization key file.
build_tool_version
Required
StringThe version of the Android Build Tools.
keystore_password
Required
StringThe keystore password.
output_dirStringThe directory in which the signed APK will be stored.
key_aliasStringThe key alias name.
key_passwordStringThe key password.
trigger_conditionStringDefines when the build action should be run. Can be one of ALWAYS, ON_CHANGE, ON_CHANGE_AT_PATH, VAR_IS, VAR_IS_NOT or VAR_CONTAINS.
trigger_condition_pathsString[]Required when trigger_condition is set to ON_CHANGE_AT_PATH.
trigger_variable_keyStringRequired when trigger_condition is set to VAR_IS, VAR_IS_NOT or VAR_CONTAINS. Defines the name of the desired variable.
trigger_variable_valueStringRequired when trigger_condition is set to VAR_IS, VAR_IS_NOT or VAR_CONTAINS. Defines the value of the desired variable which will be compared with its current value.
disabledBooleanWhen set to true the action is disabled. By default it is set to false.

YAML example for Sign Android App

actions:
- action: "Sign Android App"
type: "ANDROID_SIGN"
trigger_time: "ON_EVERY_EXECUTION"
local_path: "my-app-unsigned-aligned.apk"
output_dir: "out"
application_name: "my-app-release.apk"
key_path: "my-release-key.jks"
key_password: "${key_password}"
keystore_password: "${keystore_password}"
build_tool_version: "26.0.2"