Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Environment Variables

Environment Variables

Hey24sheep

|
142 installs
| (0) | Free
Environment Variables setting extension for Azure DevOps. Set or override env variables based either on dynamic paths based on task/cache/workspace or static vals.

Azure Environment Variables Extension

"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 👍

Buy Me A Coffee

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft