My first public VSTS Extension

A couple of days ago I started developing extensions for Build and Release pipelines of Visual Studio Team Services (VSTS). One of these extensions is finished and I wanted to share it with the community.


VSTS Extension

The extension that I created is a build or release tasks that can be used to extract the raw file content and place that content within a variable. The task itself only needs two properties:

  • File path: Path to the file from which you want to extract the file content.
  • Variable Name: The name of the variable wherein you want to place the file content.


VSTS - File Content to Variable


Use Case

An example use case for this extension is saving the content of a query (during a project we extracted the query from a “.asaql” file) into a variable and used that variable to override a parameter within our Azure Resource Management Template. With this setup we configured a Release Pipeline for our Stream Analytics service.






Related Posts

Invoke Azure Function in your Visual Studio Team Services CI/CD pipeline A utility task is available for Visual Studio Team Services (VSTS) to invoke an http triggered Azure function. The ability to invoke a Function from y...
VSTS Extension for Azure Role Based Access Control Today I published an extension for Visual Studio Team Services (VSTS) that gives you the ability to add and remove role based access assignments in Az...
Publish PowerBI files with Visual Studio Team Services Today I published an extension for Visual Studio Team Services (VSTS) that gives you the ability to deploy PowerBI files (pbix) to It use...
VSTS build or release agent on a self hosted machine in Azure or on premise You can think of many situations where you would like to create a self hosted machine for Visual Studio team services (VSTS). Installing and configuri...
Protect your master Branch in VSTS You can set up permissions and policies to control who can read and update code in a branch on your Git repo within VSTS. You can set permissions for ...
Azure Function CI – 3. Deploying the Azure Function from the Build within VSTS This post is the third and last one in a series of posts and will help you by deploying a CI build for a Azure Function. Prerequisites This blog post ...

Leave a Reply

Your email address will not be published. Required fields are marked *