[JAVA] Android automatic build setting procedure using Azure DevOps

Prevent unintended build errors

STEP 1.

Go to Azure DevOps and select Pipelines → Builds.

image.png

Step 2.

Click New → Click New build pipeline

image.png

Step 3.

Select Azure Repos Git.

image.png

Step 4.

Select a project and repository.

image.png

Step 5.

Select Android.

image.png

Step 6.

Click Save and Run without changing anything

image.png

Step 7.

Fill in the information to commit, select and click Save and run.

image.png

Setting completed

This completes the settings. Let's wait until the build is complete.

image.png

When the build is complete

It is a diagram of the build completion screen in Azure DevOps and the email sent.

image.png

image.png

end

The build will be executed automatically when the build definition file is committed and the branch containing the build definition file is synchronized.

What I set here is the basics in the basics, and what is actually operated in the project is a pipeline that is executed only in a specific branch and a configuration that changes depending on the branch is switched and an APK is generated and operated. I will. I would like to describe the settings in that area separately.

Recommended Posts

Android automatic build setting procedure using Azure DevOps
AdMob setting procedure for Android application (December 2016)