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

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”.
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.

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.
You can run it manually to test it out. Click on the Create a release.
A successful run should look like this.
It is pretty satisfying to see the result on LCS.


Praylin S said...
This comment has been removed by a blog administrator.
pragyachitra said...
This comment has been removed by a blog administrator.
Alicja Filipowicz said...
This comment has been removed by a blog administrator.
rajani said...
This comment has been removed by a blog administrator.
Manipriyan said...

Nice article keep up the good work

Python Training | Java Course in Chennai

Renuraj said...

Really happy to say your post is very impressive. Keep sharing your interesting information automatically for my future reference. Appreciations again & Thank you!

Corporate Training in Chennai
Corporate Training Companies in Chennai
Oracle DBA Training in Chennai
Linux Training in Chennai
Job Openings in Chennai
Oracle Training in Chennai
Tableau Training in Chennai
Unix Training in Chennai
Corporate Training in Adyar
Corporate Training in Annanagar

E-learning Azure DevOps said...

Great blog!! Thanks for sharing
Microsoft Azure DevOps training hyderabad
Azure DevOps online training in hyderabad
Azure DevOps online training
Microsoft Azure DevOps Training
Microsoft Azure DevOps Online Training