Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>File Content to Variable
File Content to Variable

File Content to Variable

Maik van der Gaag

|
1,952 installs
| (2) | Free
Build and Release Management tasks for setting variables to specific file content.
Get it free

File Content To Variable is a Build and Release Task for wihtin your Build / Release pipeline.

With this tasks you can save the content of a file to a variable.

This extension can be used to save the content of a specific file within your artifact or source control into a variable.

Within the task two parameters can be specified:

  • Source File: The file from which the content needs to be read.
  • Variable Name: The name of the variable specify it without $(..)
  • Add New Line: THe possibility to add a new line character meaning that you will have a single line variable

Documentation

For the documentation check the Wiki.

When you like the extension please leave a review. File a issues when you have suggestions or problems with the extension.

Issues

Release Notes

Version Remarks
1.0.0 Initial version
2.0.0 Added a new line functionality
2.2.0 Changes tagging and some minor changes
2.2.1 Integration into CI & CD
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft