Category: Tips & Tricks
-

The secret power of the “+” in live, outlook or hotmail addresses
I’m always looking for small tricks that make a difference. And recently, I stumbled on something that felt a bit like discovering an old Swiss army knife I forgot I had. It’s built into Outlook.com (and works with @outlook.com, @live.com, and even old @hotmail.com addresses). I actually learned from it…
-

Dependency Reviews with GitHub Advanced Security for Azure DevOps (GHAZDO)
Last month GitHub Advanced Security for Azure DevOps (GHAZDO) was released at the Build conference . GHAZDO is the implementation of GitHub Advanced Security on the Azure DevOps platform. On GitHub Advanced Security (GHAS) is already around for quite a while, but on Azure DevOps it is still in it’s…
-
Azure DevOps Branch Policy does not trigger on push
Today I was working on a Git Repo in Azure DevOps that is used for a training that I am currently building. together with my colleague Randy. One of the things we want is to set a branch policy on the main branch so that a Pull Request build is…
-
Remove the [External] Tag in Outlook
I am an outlook user. A heavy outlook user. And there is something that is bothering me. The [External Tag in front of every message I get from an external email address (which is almost all my email) Don’t get me wrong. I understand it. There is so much phishing…
-

Creating an Azure Container Registry Service Connection in Azure DevOps with your own ServicePrincipal
A while ago, I blogged about creating an Azure Container Registry Service Connection in Azure DevOps, using the UI. In short, when you don’t have direct permission on the Azure subscription, the UI in Azure DevOps blocks you from creating a service connection, because there is no manual way of…
-

Pushing to an Azure Container Registry from Azure DevOps
Azure DevOps is full of great wizards and helpers to make life of the developers easy. One of them is setting up a service connection to an Azure Container Registry. When you go to the Service Connections of your Azure DevOps project and create a new Docker Registry Connection, it…
-

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…
-

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…
-

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…
-

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,…
-

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…
-

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…
-

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…
-

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
-

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…
-

Copy files (and run tests) on a remote machine back to the VSTS build and release agent
This week I was working on a script, running in my VSTS release pipeline that executed Pester tests on a remote machine. Running Pester tests on the VSTS Build and Release Agent work fine with one the awesome tasks on the Visual Studio Marketplace, but this was about running the…
-

Call VSTS REST API from Release Management
Update 22/6/2016 That’s how fast things go. Since this blogpost there has been a new update on VSTS that allows you to access the OAuth token by just clicking a checkbox. In the Release Environment, click the elipsis asnd select Deployment Conditions (or Configure Variables etc.). It opens a new…
-

Call VS Team Services (VSTS) REST API from your Build Pipeline
Today I had the necessity to call the Visual Team Services (VSTS) REST API to get the code changes associated to the build I was currently running. I want these changes to get all the files and to do some actions with the files that were changed. First I tried to…




