The new build system comes with a wide range of prepackaged build tasks. Out-of-the-box tasks are complimented with the presence of popular scripting engines. This helps address scenarios that aren't directly covered with the out-of box-tasks. The new build system has been architected from the ground up with a special focus on extensibility. In this recipe, you'll learn how to create a new build task using the extensibility framework available in the new build system.
The TFS Extensions command-line utility (tfx-cli
) needs to be used for building task management. The utility is based on Node.js. As a prerequisite to using tfx-cli
, download and install Node.js from https://nodejs.org/en/download. The extensibility command-line utility can directly be installed by launching command prompt and running the following command:
npm install -g tfx-cli
To authenticate with TFS, the tfx-cli
utility only accepts Personal...