Build feature ensuring certain free disk space on the agent before the build by deleting files managed by the TeamCity agent.
Example. Cleanup up to 10GB of disk space on the agent before every build. Fail build if it's not possible to provide required disk space.
// Other Build Type settings ...
// Other Build Features ...}
requiredSpace = "10gb"
failBuild = true
}Content copied to clipboard
Creates an instance of this build feature via reflection using a no argument constructor, used during copying. Throws an error if this class doesn't have a default constructor. Subclasses can override it to create an instance without using a default constructor.