【发布时间】:2019-03-25 11:03:16
【问题描述】:
我正在开发混合应用程序,并且有两个分支 iOS 和 Android。 如何使用 hockeyapp 配置 Jenkins 构建?
【问题讨论】:
标签: jenkins jenkins-plugins hockeyapp jenkins-job-dsl
我正在开发混合应用程序,并且有两个分支 iOS 和 Android。 如何使用 hockeyapp 配置 Jenkins 构建?
【问题讨论】:
标签: jenkins jenkins-plugins hockeyapp jenkins-job-dsl
首先你需要在jenkins上安装HockeyApp Plugin
安装后会在http://jenkins-server:port/configure中获得Default HockeyApp Configuration选项
默认 HockeyApp 配置
Default API Token <*provide the api token*> **you will get from hockey account
HTTP Client Timeout <leave empty>
Enable global Debug Mode <keep unchech>
在作业配置页面上有添加构建后操作选项,其中选择上传到 HockeyApp
API Token <Leave blank if you have done previous step >
Upload Method = Upload App / Upload Version (select as per your requirement)
App File = location of app file
Symbols (.dSYM.zip or mapping.txt) = An optional path, relative to the build's workspace, to the generated dSYM.zip (iOS and MacOS) or mapping.txt (Android) file.
Packed libraries (.zip) = Optional path
Release Notes = No Release Notes/Use Change Log/Load Release Notes from File/Input Release Notes (select as per your choice)
Allow Downloads (select as per your choice)
Restrict Downloads to Tags (you can restrict downloads of your app to only users/devices with these tags.)
Notify Team (select as per your choice)
删除旧版本(根据您的选择选择)
【讨论】: