Azure DevOps and Azure Pipelines integration


Azure DevOps is a Microsoft product that provides version control, reporting, requirements management, project management (for both agile software development and waterfall teams), automated builds, testing, and release management capabilities. It covers the entire application lifecycle and enables DevOps capabilities. It’s usually used in combination with Azure Pipelines, another Microsoft product under the Azure DevOps suite that enables cloud-hosted pipelines for Linux, macOS, and Windows to build web, desktop, and mobile applications.

If you are using Azure DevOps as part of your development life cycle, you can connect it to your Applivery account so that new versions of your Apps are automatically deployed in Applivery and distributed to your users. 

There are many ways to connect Azure Pipelines with Applivery. Probably the simplest is in combination with Fastlane (read more about Fastlane Tools here).

In this tutorial, we will see how you can connect both to enable continuous delivery of your iOS and Android Apps through Applivery.

Initial requirements #

This tutorial assumes the next steps have been already taken:

  1. You already have an Azure DevOps account.
  2. You already have an Azure Pipelines configuration in place.
  3. You are familiar with Fastlane Tools and Fastlane configuration for Applivery.

If that’s the case, let’s get started:

Step 1 - Configuration #

Under your azure-pipelines.yml file, configure a new script as follows:

					- script: fastlane dev_deploy applivery_token:

This simple step will invoke Fastlane dev_deploy lane.

Step 2 - Define your Fastfile #

Now define your Fastfile following the Applivery Fastlane plugin documentation. Here is an example that will also get some environment variables from your Azure configuration:
					desc "Deploy a DEV ipa to Applivery"
 lane :dev_deploy do |options|
     build_number: number_of_commits
     scheme: "myproject-DEV",
     export_method: "enterprise"
     app_token: options[:applivery_token],
     notify_collaborators: false,
     changelog: last_git_commit[:message]

That’s it! Now you can start building and deploying your Apps like a pro with Azure DevOps and Azure Pipelines.

Managing environment and secret variables in Azure #

We always recommend not including your Applivery App Token directly into the azure-pipelines.yml file. Instead we recommend using the Azure Variables:



Once defined, you will be able to access the defined variables as follows: $(applivery_token)

Updated on February 20, 2024
Was this article helpful?

On this page

— talk to an expert —

Schedule a demo