编译构建 CODEARTS BUILD-Android APK签名:代码化构建

时间:2024-06-25 16:47:47

代码化构建

 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命令。

support.huaweicloud.com/usermanual-codeci/codeci_ug_0043.html