具有Jenkins集成的Android Studio [英] Android Studio with Jenkins Integration

查看:150
本文介绍了具有Jenkins集成的Android Studio的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想你们中的许多人都在这里进行了Jenkins与Android Studio的持续集成.

I guess many of you have performed here continuous integration of Jenkins with Android Studio.

我已经执行了以下步骤:

I have performed the following steps:

  1. 从Android Studio创建一个项目.
  2. 在GitHub中创建了一个存储库.
  3. 将代码库推送到Github中.
  4. 已配置的詹金斯.

现在,我的目标是,每当我对Github执行Android代码的某些签入操作时,Jenkins都会自动在最新的代码库上创建一个构建.

Now, my target is that whenever I perform some checkin operation of the Android code into the Github, then automatically Jenkins will create a build on the latest codebase.

我已经下载了Jenkins所需的必要插件.

I already have downloaded the necessary plugins that are required for Jenkins.

由于我不确定,一旦Jenkins在新的代码库上执行了构建操作,有人不确定我将如何实现相同的apk文件吗?

Can anybody tell me step by step how can I achieve the same, since I am not sure, how Jenkins will get the apk file that is getting created once Jenkins performs the build operation on the new codebase?

推荐答案

这是一个古老的问题,对于发问者而言可能没有用,但可能会帮助其他人寻找解决方案.

It is an old question, and may of no use for questioner, but it may help others looking for solution.

如果您要查找apk文件,则该文件在工作区的构建路径中可用.

If you are looking for apk file then it is available in build path of workspace.

您似乎对CD部分感兴趣,然后可以使用"Google Play Android Publisher".它使Jenkins能够管理Android应用文件(AAB或APK)并将其上传到Google Play.请参考Jenkins的以下文档帮助:

It looks like you are interested in CD part, then you can use "Google Play Android Publisher". It enables Jenkins to manage and upload Android app files (AAB or APK) to Google Play. please refer to following doc help from Jenkins:

https://plugins.jenkins.io/google-play-android-发布者/

这篇关于具有Jenkins集成的Android Studio的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆