Can not set multi line string to environment variable

后端 未结 1 1614
悲&欢浪女
悲&欢浪女 2021-01-21 15:23

How can I set multi line string to environment variable on VSTS powershell task. Following code only save the first line of the string.

[string]$xmlstring = Get-Co

相关标签:
1条回答
  • 2021-01-21 16:13

    Multiple lines variable in build or release is not supported, so it can’t be set the multiple variable during the build/release too.

    Related user voice: Multiple lines variable in Build and Release.

    To do it with the base64 string is the good way.

    0 讨论(0)
提交回复
热议问题