当我运行我的构建时,它将失败并显示以下日志:
[14:14:45]Checking for changes
[14:15:02]Publishing internal artifacts
[14:15:02]Clearing temporary directory: /var/TeamCity/buildAgent/temp/buildTmp
[14:15:02]Free disk space requirement
[14:15:02][Free disk space requirement] Free disk space requirement of 3.0Gb is not met for directory /var/TeamCity/buildAgent/work/870524f98b27404c (only 2474.7Mb is free).
[14:15:02][Free disk space requirement] Free disk space requirement of 3.0Gb could not be met for directory /var/TeamCity/buildAgent/work/870524f98b27404c (only 2474.7Mb is free)
[14:15:02]Checkout directory: /var/TeamCity/buildAgent/work/870524f98b27404c
[14:15:02]Repository sources transferred
[14:15:02]Updating sources: server side checkout
[14:15:02]Starting: /usr/bin/mono /var/TeamCity/buildAgent/plugins/dotnetPlugin/bin/JetBrains.BuildServer.MsBuildBootstrap.exe /workdir:/var/TeamCity/buildAgent/work/870524f98b27404c /msbuildPath:/usr/lib/mono/4.0/xbuild.exe
[14:15:02]in directory: /var/TeamCity/buildAgent/work/870524f98b27404c
[14:15:03]Process exited with code 1
[14:15:03]MSBuild output
[14:15:03][MSBuild output] Start MSBuild...
[14:15:03][MSBuild output] '/usr/bin/mono' '/usr/lib/mono/4.0/xbuild.exe "@/var/TeamCity/buildAgent/work/870524f98b27404c/MyNancy.sln.teamcity.msbuild.tcargs" MyNancy.sln'
[14:15:03][MSBuild output] working dir = '/var/TeamCity/buildAgent/work/870524f98b27404c'
[14:15:03][MSBuild output] MSBUILD: error MSBUILD0004: Too many project files specified
[14:15:04]Publishing internal artifacts
[14:15:04][Publishing internal artifacts] Sending build.finish.properties.gz file
[14:15:04]Build finished
有没有办法捕获 tcargs 文件内容?它不在构建代理的临时目录中。也许有人知道我做错了什么。当我手动调用工作目录上的 xbuild 时,它构建得很好。谢谢