Wednesday, 23 January 2019

Azure DevOps Release Pipeline–Walkthrough


It is a great start to 2019. Joris from Microsoft has welcomed the year with the release of the Azure DevOps Release Pipeline task on the marketplace.
I thought I would do a walkthrough for those that haven’t had a chance to play with it yet.

New release pipeline
In Azure DevOps, click on the New release pipeline.

You will get an option to select from a template. Just select “Empty Job”.
In the first stage, make sure the Agent job is using “Hosted VS 2017”.


In the Agent job click on the + icon to add a task. Select the LCS Asset Upload task.
If you don’t see, then you have not installed it. Just select the “Dynamics 365 Unified Operations Tools”
link at the bottom. Otherwise, install from here

Stages
Now that you have the first task added. Fill in the details. You will have to add a
new connection to LCS. I need to investigate the tags to give it a better name and description.

When you click on the new LCS connection, you will get this dialog. Most of it is defaulted for you. Enter the username and password.
Client ID (Application ID) can be created in Azure Portal.
You need permissions to “Dynamics Lifecycle services”. Make sure it is a
Native application type. Hopefully it looks like the screenshot below.
Don’t forget to click on “Grant permissions”.
Artifact
Next, we go back to the main Pipeline screen and select our artifact.
Click on the Add an artifact tile. Select build and fill in the details.
What we want to do in this scenario is release the latest build.

Trigger
To set up a trigger to occur on a build. Click on the lightning icon. You can enter
filters to ensure only your release branch gets uploaded to LCS.
Run
You can run it manually to test it out. Click on the Create a release.
A successful run should look like this.
LCS
It is pretty satisfying to see the result on LCS.

3 comments:

Praylin S said...

I was searching for this topic for a while. Now I'm glad that I came across this blog. Keep us updated with more such informative posts.
Microsoft Dynamics CRM Training in Chennai
Microsoft Dynamics CRM Training institutes in Chennai
Oracle Training in Chennai
Oracle Training institute in chennai
Tally Course in Chennai
Tally Training in Chennai
Microsoft Dynamics CRM Training in Velachery
Microsoft Dynamics CRM Training in Porur

pragyachitra said...

Thank you for allowing me to read it, welcome to the next in a recent article. And thanks for sharing the nice article, keep posting or updating news article.

DevOps Training in chennai

DevOps Training in Bangalore

DevOps Training in Pune

DevOps Online Training

Alicja Filipowicz said...

This is very interesting what you write! Do you know also about cloud solutions? I saw here Pro4People offer. it seems to be okay. I would like to establish cooperation, but I am not entirely sure about this solution. Can you tell me something more about this?