Archive | Tips & Tricks RSS feed for this section

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

Building a checkbox in your VSTS custom build task

Update 5/25/2016 Since May 6th 2016, this is default functionality in VSTS. Look for the Checkbox Control section in this post! https://www.visualstudio.com/news/2016-may-6-vso Today I was building a custom build task for the new build system in VSTS. I read the documentation and started to work on the task.json. Besides some strings I wanted to have as […]

Continue reading

Running a VS Team Services (VSO) Build Agent in a Windows Docker Container

A while ago I wrote a post on how to run a Visual Studio Online (now called Visual Studio Team Services) Build Agent in a Docker Container on Linux. I got some good feedback on this post and now it is time to do the same trick again but only on Windows. Yes ! You […]

Continue reading

Upload process template to TFS 2015 gives a version error

Today I was doing some process template customization on a TFS 2015 server. The process template that was in use was one that was created for TFS 2013.4 and worked fine. We did the upgrade and everything was fine as well. But as good practice describes, we also have a version of this Process Template […]

Continue reading

Partially succeeded builds do not show in the build widget

Today I received an email about some strange behavior on the TFS 2015.1 dashboard. The partially succeeded build bars did not show in the widget. A colleague (Thanks Edwin v/d Thiel !) figured out what was wrong. The stylesheet class that was referenced had a casing error. When looking in the code you see that the style […]

Continue reading