Skip to content

hey24sheep/azure-environment-variables

Repository files navigation

Azure Environment Variables Extension

Buy Me A Coffee

"Environment Variables" is a DevOps Pipeline task extension to create or override 'Environment Variables' with dynamic/custom values/paths based on tasks or static data.

Sometimes there is a need to create or override an environment variable during build either based on a task, maybe override a var created by another task or create a new cache restore directory env var.

Installation

Installation can be done using Visual Studio MarketPlace. Just login to your Azure DevOps Org and click on "Get it free" button and follow the installation process.

How to use

To use the task, go to your pipeline -> build definition and add "Environment Variables" to your build definition.

Config

  • Environment Variables (comma separated) : Set environment variable key=value (separated by ','). Example input like "webpack=$(Pipeline.Workspace)/sdks/webpack, flutterToolPath=cacheFolder/flutter, isProd=true, flavor=prod-internal, arg1=something". Note : Do not use spaces in name.

You can use the variable just like any other variable like $(webpack), $(isProd).

More

Check out my other useful Flutter packages on pub.dev or more DevOps extensions on marketplace

Rate the extension

Don't forget to rate the extension if you find it useful

Support

PRs are always welcome. Feel free to create an issue if you have any issues.

Don't forget to star this repo, thanks 👍

License

MIT