Install Prereqs - Common Problems
  • 18 Nov 2019
  • 1 Minute to read
  • Contributors
  • Comment
  • Dark
    Light
  • PDF

Install Prereqs - Common Problems

  • Comment
  • Dark
    Light
  • PDF

Article Summary

In the build and release pipelines there is software we will want to install on the build agent. The below picture shows the list of tasks in the task group.

image.png

The tasks are discussed below.

Show Build Variables

The show variables task is for diagnostics to display what variables are set.

The below yaml shows the task config

steps:
- task: dutchworkz.DisplayAllVariables.DisplayAllVariables.DutchWorkzToolsAllVariables@1
  displayName: 'Show all build variables in build output.'

Install Terraform

In this task we will install Terraform on the build agent. The below picture shows how the task is configured.

image.png

The below yaml shows how the task is configured

steps:
- task: ms-devlabs.custom-terraform-tasks.custom-terraform-installer-task.TerraformInstaller@0
  displayName: 'Install Terraform 0.12.3'

Use .net Core sdk

In this step we will install the .net core sdk version 2.1.701. This is used for the .net core related tasks in the pipeline.

The below picture shows the configuration of this task.

image.png

The below yaml shows the configuration of the task.

steps:
- task: UseDotNet@2
  displayName: 'Use .Net Core sdk 2.1.701'
  inputs:
    version: 2.1.701


Was this article helpful?