Skip to content
CodeblackNL edited this page Dec 1, 2014 · 21 revisions

TFSBuildScripts

This project provides PowerShell scripts that can be used to extend TFS Build Workflows.

To learn the background of this project, read the Introduction.

Status

I just started this project here on GitHub, how's that for status :-). I've already added the first function (Update-Version) and build-script (PreBuild); and also started on the documentation.

Changelog

1.0.0

  • Added Update-Version function; to update version-attributes in the code before building
  • Add PreBuild script; to be executed during the pre-build phase of the build-process (calls Update-Version)

Roadmap

I already have a lot of the scripts and functions working, but it's all still a bit R&D-ish. I will bring in each function and script, one at a time, with documentation and unit tests.

Here's the short version of the backlog:

  • Add Update-Version function; to update version-attributes in the code before building
  • Add PreBuild script; to be executed during the pre-build phase of the build-process (calls Update-Version)
  • Add documentation for installation
  • Add NuGet (& Chocolatey) package(s)
  • Add Invoke-SonarRunner; to run sonar-analysis (see SonarQube)
  • Add PostBuild script; to be executed during the post-build phase of the build-process, calls Invoke-SonarRunner
  • Add Package-NuGetPackages; to create NuGet (or Chocolatey) packages
  • Add Publish-NuGetPackages; to publish NuGet (or Chocolatey) packages
  • Add custom build-workflows (based on TFS 2013 default workflows and for both TFVC and Git) with an option to specify a PowerShell script to be run when the build-agent is done
  • Add PostExecution script; to be executed when the build-agent is done, calls Package-NuGetPackages & Publish-NuGetPackages

If there's anything else you'd like or need, let me know by creating an issue.