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 - 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
-
-
-
-
-
-
What are Azure Pipelines?5m
-
(Locked)
Explore the Pipeline parts4m 34s
-
(Locked)
Explore Pipeline build features2m 34s
-
(Locked)
Explore the example web project2m 4s
-
(Locked)
Add a service connection to Azure Resource Manager58s
-
(Locked)
Explore the pipeline templates2m 41s
-
(Locked)
Add a build pipeline3m 13s
-
Manually run and troubleshoot a pipeline2m 39s
-
(Locked)
Update the repo to trigger the build1m 45s
-
(Locked)
Add a release pipeline2m 16s
-
(Locked)
Use custom variables in the pipeline1m 29s
-
-
-