Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 523 Bytes

treesize.rst

File metadata and controls

18 lines (11 loc) · 523 Bytes

Properties; tree-size-KiB

TreeSize

from buildbot.plugins import steps

f.addStep(steps.TreeSize())

This is a simple command that uses the du tool to measure the size of the code tree. It puts the size (as a count of 1024-byte blocks, aka 'KiB' or 'kibibytes') on the step's status text, and sets a build property named tree-size-KiB with the same value. All arguments are identical to :bbShellCommand.