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 variables - Azure Tutorial
From the course: Azure DevOps: Continuous Delivery with YAML Pipelines
Working with variables
- [Instructor] In this example, we're going to show how we can use variables in our pipelines. Let's go into our NewDadApp, and our build, and let's edit this. And what we've got currently is a build that goes out and runs for myNewDadApp, and this is a specific build for a particular project. I've got the inclusion of the folder as being myNewDadApp, and then I've got it variable-defined at the pipeline level for what the solution is. That is then used throughout this to specify what gets built and how it processes through. Now, what I want to do is be able to use the same build for my API project as well, and so what I want to do is I'm going to change my variables to be a pipeline variable. Up here in our variables, you'll see that I can click on the variables, and I can add a new variable. And I can call this my projectName, and I can put a value on this, and call this myNewDadApp. And I can then allow users to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Modernize your application6m 55s
-
(Locked)
Triggers in pipelines2m 12s
-
(Locked)
Working with triggers4m 29s
-
(Locked)
Variables and scope2m 47s
-
(Locked)
Working with variables3m 1s
-
(Locked)
Pipeline templates59s
-
(Locked)
Adding templates to a project4m 53s
-
(Locked)
Variable libraries52s
-
(Locked)
Working with variable libraries3m 55s
-
(Locked)
-
-