Little cosmetic changes to buildbot (2)

This commit is contained in:
Julien Malka 2023-01-28 00:28:49 +01:00
parent 52e0f3931d
commit b61c996c30
Signed by: Luj
GPG key ID: 6FC74C847011FD83
2 changed files with 1 additions and 8 deletions

View file

@ -44,19 +44,12 @@ class BuildTrigger(Trigger):
def getSchedulersAndProperties(self):
build_props = self.build.getProperties()
repo_name = build_props.getProperty(
"github.base.repo.full_name",
build_props.getProperty("github.repository.full_name"),
)
sch = self.schedulerNames[0]
triggered_schedulers = []
for job in self.jobs:
attr = job.get("attr", "eval-error")
name = attr
if repo_name is not None:
name = f"{repo_name}: {name}"
drv_path = job.get("drvPath")
error = job.get("error")
out_path = job.get("outputs", {}).get("out")

View file

@ -99,7 +99,7 @@ def build_config() -> dict[str, Any]:
# Since we dynamically create build steps,
# we use `virtual_builder_name` in the webinterface
# so that we distinguish what has beeing build
context=Interpolate("buildbot/%(prop:virtual_builder_name)s"),
context=Interpolate("%(prop:virtual_builder_name)s"),
),
]