Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
494 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 Answer

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...