Book Image

Azure DevOps Server 2019 Cookbook - Second Edition

By : Tarun Arora, Utkarsh Shigihalli
Book Image

Azure DevOps Server 2019 Cookbook - Second Edition

By: Tarun Arora, Utkarsh Shigihalli

Overview of this book

Previously known as Team Foundation Server (TFS), Azure DevOps Server is a comprehensive on-premise DevOps toolset with a rich ecosystem of open source plugins. This book will help you learn how to effectively use the different Azure DevOps services. You will start by building high-quality scalable software targeting .NET, .NET Core and Node.js applications. Next, you will learn techniques that will help you to set up end-to-end traceability of your code changes, from design through to release. Whether you are deploying software on-premise or in the cloud in App Service, Functions, or Azure VMs, this book will help you learn release management techniques to reduce failures. As you progress, you will be able to secure application configuration by using Azure Key Vault. You will also understand how to create and release extensions to the Azure DevOps marketplace and reach the million-strong developer ecosystem for feedback. Later, the working extension samples will even allow you to iterate changes in your extensions easily and release updates to the marketplace quickly. By the end of this book, you will be equipped with the skills you need to break down the invisible silos between your software development teams, and transform them into a modern cross-functional software development team.
Table of Contents (14 chapters)
Title Page
About Packt
Contributors
Preface
Index

Setting up build pipeline for a Node.js application


Node.js is a cross-platform, open source platform built on Chrome's JavaScript runtime for fast and scalable server-side and networking applications. It is very popular for both frontend as well as server-side programming. In this recipe, you'll learn how to set up a CI pipeline for a Node.js application using gulp.  

Getting ready

The focus of the recipe is to help you understand the construction of a CI pipeline for a Node.js application. To abstract the complexity of the node application out of the recipe, we'll be using a demo code repository from GitHub. To get started, simply import the following code base from  https://github.com/nilaydshah/MochaTypescriptTest-101/ into your team foundation server. You can also create a new Node.js code repository in Visual Studio code using the instructions in this blog post: https://blogs.msdn.microsoft.com/nilayshah/2018/01/07/unit-testing-node-application-with-typescript-in-vs-code-%E2%80%8A-%E2...