gpt4 book ai didi

teamcity - 如何在teamcity中设置构建工件

转载 作者:行者123 更新时间:2023-12-04 11:30:38 25 4
gpt4 key购买 nike

我正在尝试在 teamcity 中设置构建工件,但遇到了问题。这是工件命令:

 Services\Windows\ApiRequestProcess\ApiRequestLoggerService\bin\Release\* => F:\BuildArtifacts\Services\ApiRequestLogger

这是错误之一:
16:43:33]: [Publishing artifacts] Paths to publish: [Services\Windows\ApiRequestProcess\ApiRequestLoggerService\bin\Release\* => F:\BuildArtifacts\Services\ApiRequestLogger, teamcity-info.xml]
[16:43:33]: [Publishing artifacts] Sending files
[16:43:34]: Failed to upload build artifact due to error: java.io.FileNotFoundException: F:\TeamCity\.BuildServer\system\artifacts\API Request Logger Service\API Request Logger Service Build\536\F:\BuildArtifacts\Services\ApiRequestLogger\ApiRequestCore.dll (The filename, directory name, or volume label syntax is incorrect)

有任何想法吗?

最佳答案

那么您的问题是 TeamCity 将工件存储在其数据目录中,因此您无法指定绝对位置。你需要那个地方的文物吗?如果是这样,您将必须运行任务以从工件文件夹中复制它们(有一个 rest api 可以帮助您下​​载工件)

来自 docs

TeamCity stores artifacts on disk in a directory structure that can be accessed directly (for example, by configuring the Operating System to share the directory over the network). The artifacts are stored under /system/artifacts folder. Storage format is described in the TeamCity Data Directory section. Build artifacts are not archived in TeamCity and stay as they are (uncompressed).

关于teamcity - 如何在teamcity中设置构建工件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4620265/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com