It is possible to integrate Mobile Center with Azure DevOps Pipelines? Or any other hosted CI/CD service?
When using CI/CD cloud/hosted services, it is becomes an obvious that the generated artefacts should be published for Continuous Testing. How this can be achieved with Mobile Center, which is not part of any of those solutions?
Mobile Center has a REST API, which can be used to integrate in Azure Pipelines.
However, the REST API scripting in Azure Pipelines is very basic (support only basic authentication, no option to pass parameters between the REST API requests, etc.)
The most elegant solution in this case can be use of Python program or bash script.
Here is the flow:
1. In the example below, the pipeline generates and export the artefact for iOS app in IPA format. Please be sure to use correct signing method for the IPA. The export task example:
2. Create a task that will install pre-requisite for Python ('requests' module)
Run the pipeline - the IPA should be generated and uploaded to Mobile Center.