In lab one we will create the basis for our yaml pipeline.
- In your repository create a branch called lab01.
- Make lab01 your working branch.
- Add a file with the ".yml" extension in your branch and add the following content to the file.
trigger:
- none
steps:
- task: PowerShell@2
inputs:
targetType: 'inline'
script: |
# Write your PowerShell commands here.
Write-Host "Hello World"
- Save and commit your change.
- Navigate to Pipelines in Pipelines.
- Create a new pipeline as follows.
- Ensure that your pipeline runs.