Thursday, February 25, 2016

TFS 2015–Uploading Build vNext tasks without enabling basic authentication

I talked about the tfs-cli tool before. This tool allows you to create and upload your own custom build steps both in VSTS and TFS on premise. Unfortunately to be able to use it on your local TFS instance, you have to enable Basic Authentication. If you don’t want to do that, you have to use the REST api’s to upload your custom task.

Although this is certainly possible, it’s not that easy to do. Luckily a colleague spend some time creating a Powershell script to simplify the process:

Just invoke the script, specify the location of your custom tasks, the url of your TFS instance and your windows credentials.

No comments: