gdb-buildbot/lib/fsdb.py
Sergio Durigan Junior 3c736356e5 Initial attempt to change the way we store results
This was imported (with modifications) from the 0.9-prep branch.
2016-11-05 23:59:59 -04:00

21 lines
859 B
Python

# DB-like with filesystem
from buildbot.plugins import util, steps
from sumfiles import get_web_base
import os
class SaveGDBResults (steps.MasterShellCommand):
name = 'save build results'
description = 'saving build results'
descriptionDone = 'saved build results'
def __init__ (self, **kwargs):
steps.MasterShellCommand.__init__ (self, **kwargs)
self.command = [ os.path.expanduser ("~/scripts/update-logs.sh"),
"--commit", util.Property ('got_revision'),
"--builder", util.Property ('buildername'),
"--base-directory", get_web_base (),
"--branch", util.Property ('branch'),
"--is-try-sched", util.Property ('isTrySched',
default = 'no') ]