From the course: Azure DevOps for Beginners

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Use custom variables in the pipeline

Use custom variables in the pipeline - Azure Tutorial

From the course: Azure DevOps for Beginners

Use custom variables in the pipeline

- [Instructor] We've seen that there's a lot of options available for to build and deploy pipelines. The last thing I want to look at is how to customize it with your own custom data and how you can move that data between parts of the pipeline. If you look at the footer on the bottom of this page you see there is a version number. So I've, I have some version number code in the ASP on that site that picks this up. This is not the standard number format that is used by .Net Core, So what I've done is I modified the way the build number is created. And I did that by going over here to my pipelines, click my pipeline, click on edit, and I've defined two variables. Now when it comes with a set of predefined variables, like the build configuration is set to release and the system debug is set to faults, I added a major version in minor version. You did that by clicking on the add button. So a major version set to two, minor…

Contents