TfsUtility: Import / Export Build & Release Definitions + more

September 06, 2016
Cover Image

I've been doing a bunch of work with the new version of Build and Release Management in Team Foundation Server 2015 (TFS2015) lately and discovered a handful of things that I wish that I could do from the command line.  Specifically, I wished that I could import and export my build definitions and release definitions.  Well, a couple years back, I released a set of command line utilities for Team Foundation Server so I decided to do an upgrade and add some new features.

The new features:

  • List Build Definitions
  • Export Build Definition to JSON
  • Import Build Definition from JSON to TFS
  • List Release Definitions
  • Export Release Definition to JSON
  • Import Release Definition JSON to TFS

With these new features you can export and share your build and release definitions between TFS Team Projects and servers.

The utility still has the original features, too:

  • List Team Projects
  • List Work Item Queries
  • List Work Item Query Folders
  • Export Work Item Query
  • Import Work Item Query
  • List Iterations (aka. List Sprints)
  • Add Iteration (aka. Add a Sprint)

Here's a link to download the utility.  Here's a link to download the source code.

-Ben

-- Need help with your TFS Builds?  Not sure where to start with TFS Release Management?  Want to get good at DevOps?  We can help.  Drop us a line at info@benday.com.