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/