android - 如何从 Jenkins/Hudson 上传 APK 到 Play 商店?

标签 android jenkins continuous-integration google-play continuous-deployment

我使用 Jenkins 实现了一个持续集成管道,但作为最后一步,我希望 Jenkins 将签名的 APK 文件部署/上传到 Google Play 商店和 AndroidPit。我查找了 Jenkins/Hudson 插件,但只找到了两个:一个用于 Appaloosa,一个用于 Zubhium。

我在 Google Play 和 AndroidPit 上都有一个可用的开发者帐户,并且可以手动上传 Jenkins 生成的 APK。但我的问题是:有人知道教 Jenkins 的方法(例如通过 shell 脚本吗?)将 APK 上传到上述应用商店?

最佳答案

有一个Google Play Android Publisher plugin对于使用 Google Play Publishing API 的 Jenkins ,在 2014 年 Google I/O 上宣布。

谷歌还发布了Java and Python libraries帮助使用 API。

有关 API 的更多信息,另请参阅:
http://android-developers.blogspot.com/2014/07/grow-with-google-play-scaled-publishing.html

关于android - 如何从 Jenkins/Hudson 上传 APK 到 Play 商店?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14507958/

相关文章:

node.js - 如何使用 Nginx 和 Node.js 应用程序设置 Jenkins

continuous-integration - Clearcase hudson 问题

带有 Gradle 的 POM 中缺少 Android 库依赖项

java - 在java android应用程序中需要帮助

android - 纯 CSS slider 在移动浏览器中不起作用

linux - 更改 Jenkins 构建工件文件所有权

java - NullPointerException 即使没有什么是空的?

Jenkins "Not sending mail to unregistered user"

version-control - TeamCity 和 IBM Rational Team Concert (RTC) 集成

docker - .Net Core和Docker(管理应用程序设置)