Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 934 Bytes

lab01.md

File metadata and controls

39 lines (28 loc) · 934 Bytes

Lab 01

Introduction

In lab one we will create the basis for our yaml pipeline.

Tasks

  1. In your repository create a branch called lab01.
  2. Make lab01 your working branch.
  3. 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"
  1. Save and commit your change.
  2. Navigate to Pipelines in Pipelines.
  3. Create a new pipeline as follows.

Create

Existing YAML

Select

Use

Once you select to continue you will be taken to an editor with you YAML file loaded.

Will the pipeline run automatically? Why or why not?

  1. Ensure that your pipeline runs.