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.
In this tutorial we will see how you can connect both to enable continuous deliver of your iOS and Android Apps through Applivery.
Step 1 - Configuration
azure-pipelines.yml file, configure a new script as follow:
- script: fastlane dev_deploy applivery_token:
Step 2 - Define your Fastfile
Fastfilefollowing 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| increment_build_number( build_number: number_of_commits ) build_app( scheme: "myproject-DEV", export_method: "enterprise" ) applivery( app_token: options[:applivery_token], notify_collaborators: false, changelog: last_git_commit[:message] ) end
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
azure-pipelines.ymlfile. Insted we recommend using the Azure Variables: