system.teamcity.agent.ensure.free.space not working
Trying to make sure that agent wil cleanup spece before run or fail if it is not enough.
Tried to options.
1) Added system.teamcity.agent.ensure.free.space = 200gb on agent
2) Added build feature 'Ensure there is at least 300gb of free space on the agent before running this build.'.
In both cases build succeed.
Please sign in to leave a comment.
It appears that parameter was inside agent config directly.
Does that means we can not overwrite agent's parameters by configuring them on TeamCity build configuration page?
Hi Alexey,
Those specific properties can be set in the build configuration, as specified on the documentation for it https://confluence.jetbrains.com/display/TCD18/Free+disk+space, but they aren't recommended. The second approach is the recommended one and should work. If it didn't, please send us a build log using the "Submit a request" button above.