in annotated_steps.py [0:0]
def GetBotInfo():
name = os.environ.get('BUILDBOT_BUILDERNAME')
if not name:
print ("BUILDBOT_BUILDERNAME not defined. "
"Expected pattern of the form: %s" % PACKAGES_BUILDER)
exit(1)
builder_pattern = re.match(PACKAGES_BUILDER, name)
if builder_pattern:
is_repo = builder_pattern.group(2) is not None
is_sample = builder_pattern.group(3) is not None
return BotInfo(builder_pattern.group(1),
builder_pattern.group(4),
is_repo,
is_sample)