TFS 2018 – Error during download: System.UriFormatException: Invalid URI: The format of the URI could not be determined

huangapple go评论104阅读模式
英文:

TFS 2018 - Error during download: System.UriFormatException: Invalid URI: The format of the URI could not be determined

问题

我在 Team Foundation Server 2018 中基于构建定义创建了一个发布定义。当针对相应的构建环境启动发布时,我收到以下错误消息:

下载期间发生错误:System.UriFormatException:无效的 URI:无法确定 URI 的格式。

此错误发生在发布过程中的“下载工件”步骤中。

问题:

  • 我在 Team Foundation Server 2018 中如何找到此格式不正确的 URI?
英文:

I have created a release definition in Team Foundation Server 2018 based on a build definition.
When the release is started for the respective build environment I get the following error message:

Error during download: System.UriFormatException: Invalid URI: The format of the URI could not be determined.

This error occurs during the release process "Download artifacts".

Question:

  • Where can I find this URI in Team Foundation Server 2018 which has an incorrect format?

答案1

得分: -1

我已找到错误。

在我的构建定义中使用了预定义变量。
例如,在这个$(BuildTargetPath)\App\YourFavoriteProgram\规范中,$(BuildTargetPath)是在变量组中定义的变量。

然而,我忘记在构建定义中在“变量” > “变量组”下包含该变量组。

英文:

I have found the error.

In my build definition predefined variables are used.
For example, in this $(BuildTargetPath)\App\YourFavoriteProgram\ specification, $(BuildTargetPath) is a variable defined in the variable group.

However, I had forgotten to include the variable group in the build definition under "Variables" > "Variable Groups".

huangapple
  • 本文由 发表于 2023年4月13日 14:35:52
  • 转载请务必保留本文链接:https://go.coder-hub.com/76002340.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定