kotlinazure-devopscontinuous-integrationazure-pipelines

Azure DevOps pipeline for a Kotlin project


I'm trying to build a CI pipeline for a Kotlin project developed on Android Studio. Using Azure DevOps pipelines.

I'm having an issue finding a Kotlin plugin or Tasks for the pipeline as we can see in the picture.

Anyone have an idea about how can we implement this type of pipeline? I didn't find anything on the internet and Microsoft have no documentation.

enter image description here


Solution

  • The issue was not with Kotlin or Java. The issue was with the SDK being used on the Hosting Agent. The solution was the following steps:

    1. Upload a SDK to Azure Blob Storage
    2. Use the Use Java Task in order to install the specified SDK

    Run the Android Pipeline with Sonarqube tasks, build was successfully run and SonarQube Code Review was successfully executed.