mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-27 06:10:53 +01:00
Little cosmetic changes to buildbot (2)
This commit is contained in:
parent
52e0f3931d
commit
b61c996c30
2 changed files with 1 additions and 8 deletions
|
@ -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")
|
||||
|
|
|
@ -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"),
|
||||
),
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue