From the course: Visual Studio App Center for Developers
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Environment variables - Visual Studio Tutorial
From the course: Visual Studio App Center for Developers
Environment variables
- [Instructor] Visual Studio App Center builds have a concept of environment variables. These can be used for a variety of reasons. For example, it is common not to want to store passwords or API keys in public repositories. These can be setup using environment variables. Anything you may think needs to be passed to a build script as a parameter can be set up as an environment variable instead, we're going to do this for our QA build. So we're going to switch to the QA branch (mumbles). And make sure the active branch selector is next to the QA branch. Next we'll go to Visual Studio for Mac. In Visual Studio for Mac, we are going to set up a constant to contain a Visual Studio App Center API key that we will use in a later chapter. Since we don't want to check (mumbles) control we won't actually hard code the API key into our file. In our share project we're going to go to File and New File and we're going to create an empty class and call it constants. First going to remove the…
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
-
-
-
-
What is continuous integration and continuous distribution?1m 53s
-
Set up your first build with Xamarin4m 19s
-
Signing builds: iOS4m 30s
-
Signing builds: Android1m 35s
-
Custom build scripts1m 57s
-
Using custom build scripts5m 43s
-
Controlling build quality with .NET6m 38s
-
Environment variables6m 28s
-
Create iOS CI builds4m 36s
-
Create iOS CD builds2m 3s
-
Create Android CI builds2m 47s
-
Create Android CD builds1m 18s
-
-
-
-
-
-
-