Continuous & Sonar Integration (Android)
Continuous & Sonar Integration (Android)
3. Go to -> Build Types tab and select release and set the required fields as shown
below:
4. Then click on Ok and check the build.gradle file in app, whether the changes get
reflected as shown below:
5. Modify the keystore path from the above specified to the ../myapplication.jks, as
the path should not be hard coded so make it relative path like shown below:
6. Till this step the project has been configured to build and generate the release
apk.
Steps to take the latest commit for Build Process with Gitlab CI
and Sonar integration:
1. Add a .yml file with the build process script with .yml extension, you can find a sample
file here:
○ Sample file is sent to you separately
2. In the yml file script change the necessary properties/configuration according to your
project.
3. Change the project key, project name, version name and language used for
development, in case of Native Android it is java:
4. Specify the branch on which your project should run (CI/Sonar):
5. Save the file and add this to your root project: