By default TeamCity has 3 GB space for build. If you have smaller instance, you can change it to reduce.
Open buildAgent configuration file by executing below command:
sudo vi /opt/JetBrains/TeamCity/buildAgent/conf/buildAgent.properties
add below line
system.teamcity.agent.ensure.free.space = 2gb
save the file
Now restart the build agent
/opt/JetBrains/TeamCity/buildAgent/bin/agent.sh stop
/opt/JetBrains/TeamCity/buildAgent/bin/agent.sh start
Click here to see steps for installing TeamCity on Ubuntu
Open buildAgent configuration file by executing below command:
sudo vi /opt/JetBrains/TeamCity/buildAgent/conf/buildAgent.properties
add below line
system.teamcity.agent.ensure.free.space = 2gb
save the file
Now restart the build agent
/opt/JetBrains/TeamCity/buildAgent/bin/agent.sh stop
/opt/JetBrains/TeamCity/buildAgent/bin/agent.sh start
Click here to see steps for installing TeamCity on Ubuntu
No comments:
Post a Comment