当前位置:   article > 正文

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

android jenkins 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.

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/木道寻08/article/detail/796505
推荐阅读
相关标签
  

闽ICP备14008679号