Archive | Tips & Tricks RSS feed for this section

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

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 tests remotely AND getting the […]

Continue reading

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 screen where you also can […]

Continue reading

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 call the REST API from Postman. In […]

Continue reading

Inherited Deny due to Access Levels

Yesterday I was building some logic against the TFS API and used impersonation to do that. One of the things that is needed in order to allow a call to TFS to be impersonated is to give a user the “Make Requests on behalf of others” permission. This server level permission is not default and […]

Continue reading