Extend Azure DevOps with a Custom PowerShell-based Pipeline Task Mike Huguet Lead Software Engineer for
Microsoft Azure DevOps
Azure DevOps Pipelines Build, test, and deploy with CI/CD that works with any language, platform, and cloud. Connect to GitHub or any other Git provider and deploy continuously. Get cloud-hosted pipelines for Linux, macOS, and Windows. Build web, desktop and mobile applications. Deploy to any cloud or on-premises. Build Test Release
Tools & Prerequisites A Microsoft account Azure DevOps organization able to install extensions PowerShell Text editor Node.js TFS Cross Platform CLI (tfx-cli) NPM module npm install –g tfx-cli PowerShell Task SDK save-module VstsTaskSdk (PowerShell Gallery)
Steps Modify the metadata Script/Code away Test Package into vsix Initialize task metadata files Add Azure Pipeline Task SDK save-module VstsTaskSdk (PowerShell Gallery) Modify the metadata Script/Code away Test Package into vsix Deploy Share Install
tfx build tasks create
Demo
Session Evaluations are ONLINE ONLY Your feedback is valuable! SQLSatBR.com/Sessions/SessionEvaluation.aspx
Resources https://docs.microsoft.com/en-us/azure/devops/extend/develop/add-build-task?view=azure-devops https://github.com/Microsoft/azure-pipelines-tasks/blob/master/docs/authoring/servertaskauthoring.md