我一直在寻找,但看不出我如何在构建步骤后让jenkins签署我的apk。我正在使用集成到Jenkins的Appaloosa来分发我的应用程序,但我需要先签名。我看到Android中没有post build build android目标。我怎样才能做到这一点?
有人可以帮我吗?
亲切的问候
答案 0 :(得分:1)
如果您将构建脚本配置为签名(或只是为您的应用程序创建构建脚本),您只需使用Jenkins运行该脚本,它就会对其进行签名。这是最简单的方法。
这两个链接将帮助您为应用生成build.xml文件:http://www.androidengineer.com/2010/06/using-ant-to-automate-building-android.html和http://developer.android.com/tools/projects/projects-cmdline.html。