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

Version number counter for Azure DevOps This week I released a new extension for Azure Pipelines called Version number counter. With this extension you add the ability to auto increment a ve...
Updates to my VSTS extensions Since a couple of months I have been developing extensions for Visual Studio Team Service (VSTS). I created extensions for task I had to do manual a c...
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 PowerBI.com. 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...

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.