else:
user = "root"
if "as-builder" in batch.command_flags:
- user = "builder"
+ user = None
return chroot.run(command, logfile = batch.logfile, user = user)
def build_all(r, build_fnc):
log.notice("running %s OK" % batch.command)
notify.add_batch(batch, "OK")
batch.build_time = stopwatch.stop()
- report.add_pld_builder_info(batch)
+ report.add_tld_builder_info(batch)
buildlogs.add(batch.logfile, failed = batch.build_failed, id=r.id)
else:
log.notice("not running command, not for me.")
log.notice("building %s OK" % (batch.spec))
notify.add_batch(batch, "OK")
batch.build_time = stopwatch.stop()
- report.add_pld_builder_info(batch)
+ report.add_tld_builder_info(batch)
buildlogs.add(batch.logfile, failed = batch.build_failed, id=r.id)
else:
batch.build_failed = 1