jenkins svn android,Jenkins Android自动构建配置(SVN)

进入系统管理,插件管理

需要安装的插件有:Android Lint Plugin,Gradle Plugin,Subversion Plug-in

打开全局工具配置界面

39257e875347eb7936081e31db01f25f.png

设置jdk配置

3d9065f93b05e5009d43b55c79f9fa7c.png

设置gradle配置

e51ebe15c850812b1594c361ac6c6fa9.png

设置maven配置

3ed428aab9be914f257d5f871da30063.png

设置完成保存

到这里整个打包环境就搭建完毕了。

进入系统设置

5012418e40aa216b1b928396247fc7d8.png

创建打包任务

994d8f5a498e6a8c8a1e93a5362488cd.png

7ff85549db4f28965f9e06b5f12a23b6.png

cdb1cf6dd5516bc564cfb5e9c5d3e876.png

c804fce0d350f8d6f75af56abdfef772.png

e5677dfe2e23d4816adbb87d5a2aa1f6.png

3ac50f9abf2b637306245c948d1a272b.png

构建输出报错

* What went wrong: A problem occurred configuring project ':zdb_android'. > You have not accepted the license agreements of the following SDK components: [Android SDK Build-Tools 25.0.2, Android SDK Platform 25]. Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager. Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

没有安装[Android SDK Build-Tools 25.0.2, Android SDK Platform 25].

查看所有sdk

android list sdk --all

按照序号更新

android update sdk -u --all --filter 15,48

Installing Archives:

Preparing to install archives

Downloading Android SDK Build-tools, revision 25.0.2

Installing Android SDK Build-tools, revision 25.0.2

Installed Android SDK Build-tools, revision 25.0.299%)

Downloading SDK Platform Android 7.1.1, API 25, revision 3

Installing SDK Platform Android 7.1.1, API 25, revision 3

Installed SDK Platform Android 7.1.1, API 25, revision 396%)

Done. 2 packages installed.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值