From the course: Azure DevOps: Continuous Delivery with YAML Pipelines

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Working with scripts

Working with scripts - Azure Tutorial

From the course: Azure DevOps: Continuous Delivery with YAML Pipelines

Start my 1-month free trial

Working with scripts

- [Instructor] Let's start by creating a new pipeline for running some scripts. We'll create this. And I'm going to go over here and we'll put it into our GitHub again. And we'll go ahead and select our repository. And then we're going to see that there's a number of different starter points that we could use. I'm going to come down to where it's the starter pipeline, which is just going to be a basic pipeline that's going to have some scripts. We'll rename this. We'll call this our pattern and we'll call it script-demo. And inside of here you'll see that it's got a simple script that gets run to go out and say, "Hello, world." It runs a one-line script. And then you've got a multi-line script where it goes out and says, "Hello," and then here's a place to get some more information. I could save this and run it but at this point it's not really that interesting. It basically goes out and runs that script. I could add in…

Contents