How to sign my android project in jenkins? -
i using jenkins use build --> invoke ants --> targets --> clean debug
debug build (apk) it. want signed apk jenkins. have added settings in build --> invoke ants --> targets --> clean release
. know 1 not enough signed apk build out jenkins. else should add signed apk? please me on this. give me detailed explanation because new this.
these parameters have added.
from jenkins documentation:
running build in hudson part easy: create new freestyle job , let build ant. targets want execute clean release. release compile, package , sign apk. working right, custom properties should set (use advanced button).
sdk.dir=/users/hugo/code/android-sdk-mac
target=google inc.:google apis:7
key.store=certs/rd-release.keystore key.alias=rainydays
key.store.password=thisisnotmypassword
key.alias.password=thisisnotmypassword
the sdk.dir should point android sdk root on hudson node. in case i'm running hudson locally on machine. target property refers sdk want use mentioned earlier. key.* properties related signing of apk. strategy have separate key store , private key each application develop. check keystore in svn. archive *-release.apk artifact can download latest release apk directly hudson. after completing these steps, should able build android app hudson.
you can check more configurations in documentation.
Comments
Post a Comment