def build(self):
if not self.build_cmds:<EOL><INDENT>LOGGER.debug('<STR_LIT>')<EOL><DEDENT>with LogTask('<STR_LIT>'.format(self.name, self.disk_path)):<EOL><INDENT>for command in self.build_cmds:<EOL><INDENT>with LogTask('<STR_LIT>'.format(command.name)):<EOL><INDENT>LOGGER.debug(command.cmd)<EOL>result = utils.run_command(command.cmd)<EOL>if result:<EOL><INDENT>raise BuildException(result.err)<EOL><DEDENT><DEDENT><DEDENT><DEDENT>
Run all the commands in self.build_cmds

Raises:
    lago.build.BuildException: If a command returned a non-zero code