azure - Azure DevOps' C :\agent\_work\1\a? 中最后一个字母 "a"、 "b"或 "s"的含义是什么有人知道最后一个字母代表什么吗?

标签 azure directory devops pool agent

Azure DevOps 目录结构中最后一个字母“a”、“b”或“s”的含义是什么:

C:\agent_work\1\a C:\agent_work\1\b C:\agent_work\1\s

有人知道最后一个字母代表什么吗?

额外加分:“1”也代表什么?

最佳答案

查看 predefined variables :

\a 可能代表“工件”

Build.ArtifactStagingDirectory - The local path on the agent where any artifacts are copied to before being pushed to their destination. For example: c:\agent_work\1\a

\b 可能代表“二进制文件”

Build.BinariesDirectory - The local path on the agent you can use as an output folder for compiled binaries. For example: c:\agent_work\1\b.

\s 可能代表“来源”

Build.Repository.LocalPath - The local path on the agent where your source code files are downloaded. For example: c:\agent_work\1\s. This variable is synonymous with Build.SourcesDirectory.

在托管构建代理上“1”似乎是静态的,在自托管代理上我注意到这个数字在每个管道上都是唯一的。

关于azure - Azure DevOps' C :\agent\_work\1\a? 中最后一个字母 "a"、 "b"或 "s"的含义是什么有人知道最后一个字母代表什么吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62137745/

相关文章:

google-cloud-platform - 如何使用 terraform 停止 GCP vm 实例

azure - Azure 存储帐户中的版本控制 Terraform 状态

scala - 在scala中动态创建变量

c# - 由于 Azure 广告 OpenIdConnectAuthentication 中的访问 token , session 将在 1 小时后过期

c# - Azure 服务总线广播到所有辅助角色实例

linux - Bash ~ 从目录的子目录中的脚本访问可能更改的目录

python - 检查文件夹,如果不存在则创建它

regex - 在 Golang 中获取给定文件路径的目录名(不是路径)

devops - 对于 DevOps Release,如何配置 pubxml 和密码以部署到 Azure App Service?

.net - 当我尝试使用 NUGet 构建 .Net 项目时遇到问题