Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
492 views
in Technique[技术] by (71.8m points)

git - Continuous integration with jenkins using android studio

I am new here to develop android application with android studio. I created sample basic application, from this i got the project structure of the application with build.gradle files in each module(which is different from eclipse).

Then I successfully commit the code and push the entire project code to git repository by using Version Control System (VCS) in it.

I need to configure my project with jenkins server for continuous integration.

Can any one give me the step by step procedure, how to configure android studio project code (which is commited in git repository) with jenkins server.

So far i didn't find any clear procedure to configure android studio code with jenkins server for continuous integration.

Thanks in adavance

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Unfortunately for you, this isn't a "Tutorial" site. If you have a specific issue, people will help you. But for a tutorial, google around some blogs.

Based on your description, you need to:

  • Configure some triggers (prolly SCM change, or timer based)
  • Perform GIT checkout
  • Perform Gradle build step
  • Decide where to Archive your artifacts

Do that, and when you have a specific issue, then ask a specific question


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...