Archive | Tips & Tricks RSS feed for this section

Distribute your blessed ARM templates with Universal Packages in Azure DevOps

There is a fine-grained balance between full autonomy of a team and arranging things on a more central level.  One of the things I talk about, when I talk about shifting to Rugged DevOps, is the use of blessed libraries, scripts and templates. As an example, if all your teams write their own logging library, you […]

Continue reading

Where to start with DevOps Metrics?

Now that more and more teams and organizations are moving towards a DevOps way of working, I get asked the question “What should we measure?” a lot. To be very honest, I find this a very hard question. The main reason is that metrics are always a point of discussion and a trigger for behavior […]

Continue reading

VSTS Rest API – Hard to find methods

This post does not have a lot of text, only an introduction. I use the VSTS Rest API quite a lot and the documentation is great, but not everything is documented or hard to find. In this post, I list some snippets that you can use to get even more out of the VSTS Rest […]

Continue reading

COPY failed when adding files to Docker container

This is a blogpost for myself. Because I don’t want to make the same stupid mistake again. And hopefully It might help you as well … I was preparing a demo to build a simple Docker Container. I used Visual Studio 2017 15.3 to create a new .NET Core Project, to which I added Docker […]

Continue reading

Publish symbols to Azure File Storage with the VSTS Hosted Agent

A while ago I migrated a lot of builds to the Visual Studio Team Services Hosted Agents. This works great. We reduced the number of build servers and agent on-premises and can now easily scal up and down. But .. as it goes… there is always that next thing on the list. In my case […]

Continue reading

REST call to get all tasks in your VSTS account

This time, a small and simple post. I was working on a solution to get all tasks used in multiple build definitions. When you get the Build Definition with the REST API, you see a reference to the tasks by it’s GUID. But the displayname, group etc, is not displayed there. There is no documentation […]

Continue reading

Using VSTS Package Management as a private Powershell Gallery

For information how to set up a private Chocolatey repository on VSTS check this post Let me start by saying that I really like VSTS package management. Earlier I blogged about Release Views and I also like the integration with the whole build/release eco system. That said, I was quite annoyed when I noticed that I […]

Continue reading

Trigger Release Pipeline only for Scheduled builds

Currently I am working on some build and release pipelines to deploy some websites automatically. I have some CI builds running, and some scheduled buils that are deployed automatically. This works fine, but there is some waste in the process. My CI build is the same as my scheduled build, with 1 major difference. I do […]

Continue reading

Run Functional (Coded) UI Tests in your VSTS Release Pipeline

Today I was trying to run some CodedUI test from my VSTS Release pipeline. The process is quite straightforward but there were some tiny catches I’d like to share with you Let me first show the pipeline I have created

Continue reading

Order your VSTS Product Backlog based on the order within your Feature Backlog

I know, the title is crap but I just don’t know how to call it properly. Let me just give me the real life example. I have this pretty straightforward Product Backlog But I also have this feature hierarchy. Within the features I prioritize my Backlog items. The features also are ranked from most important to less […]

Continue reading