Microsoft DevOps release pipeline

In this article I want to go over how we can setup a simple release pipeline that can be used to automate LCS package deployment.

This is a continuation of the previous article which explains how we can create a DevOps build pipeline for retail deployable package.  

You will need to have access to DevOps pipelines to be able to complete this.

Within DevOps, navigate to Pipelines > Releases

Click 'New release pipeline'


Select 'Empty job'

Choose 'Add an artifact'


Select the 'Project' and 'Source (build pipeline)'




Update the required details as shown in the example below and click 'Add'




Click on the job link



Click on the Agent job tile and ensure that you select the correct agent pool and agent specification depending on your build machine configuration.


Click the plus icon


Choose 'Dynamics Lifecycle Services Asset Upload'. This step will copy your deployable package from the build pipeline artifacts and save it under the LCS asset library of the project specified.
Enter your details as below.



Click on the plus icon again and add 'Dynamics Lifecycle Services Asset Deployment'. This step will start the deployment of the deployable package to the environment. Enter you details as follows;

Now you can save your changes and execute your pipeline to give it a test.


Comments

Popular posts from this blog

D365FO - Create a multi-select lookup in batch jobs

Generate and download a csv file using X++

Creating a batch job with query based filter in D365 back-office