使用yaml配置Android APK签名
1 2 3 4 5 6 7 8 9 10 11 |
version: 2.0 # 必须是2.0 steps: BUILD: - android_sign: inputs: file_path: build/bin/*.apk keystore_file: androidapk.jks keystore_password: xxxxxx alias: keyalias key_password: xxxxxx apksigner_commond: --verbose |
参数名 |
参数类型 |
描述 |
是否必填 |
默认值 |
---|---|---|---|---|
file_path |
string |
需要签名的APK路径。 |
是 |
无 |
keystore_file |
string |
Keystore文件名。 |
是 |
无 |
keystore_password |
string |
Keystore文件密码。 |
否 |
无 |
alias |
string |
别名。 |
是 |
无 |
key_password |
string |
密码。 |
否 |
无 |
apksigner_commond |
string |
apksigner命令。 |
是 |
无 |