与jenkins构建的Hockeyapp配置

时间:2015-03-17 04:10:05

标签: jenkins jenkins-plugins hockeyapp jenkins-job-dsl

我正在开发混合应用程序并拥有两个分支iOS和Android。 如何使用hockeyapp配置Jenkins构建?

1 个答案:

答案 0 :(得分:1)

首先,您需要在jenkins上安装HockeyApp Plugin

安装完成后,您将在http://jenkins-server:port/configure

中获得默认HockeyApp配置选项

默认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)

删除旧版本(根据您的选择选择)