diff --git a/buildbot_nix/__init__.py b/buildbot_nix/__init__.py index 2fca383..e99a8ad 100644 --- a/buildbot_nix/__init__.py +++ b/buildbot_nix/__init__.py @@ -347,6 +347,9 @@ class NixEvalCommand(buildstep.ShellMixin, steps.BuildStep): def run(self) -> Generator[Any, object, Any]: # run nix-eval-jobs --flake .#$FLAKE_TARGET_ATTRIBUTE_FOR_JOBS to generate the dict of stages cmd: remotecommand.RemoteCommand = yield self.makeRemoteShellCommand() + build_props = self.build.getProperties() + project_name = build_props.get('event.project') + yield self.runCommand(cmd) # if the command passes extract the list of stages @@ -403,7 +406,7 @@ class NixEvalCommand(buildstep.ShellMixin, steps.BuildStep): self.build.addStepsAfterCurrentStep( [ BuildTrigger( - builds_scheduler_group=f"lix-nix-build", + builds_scheduler_group=f"{project_name}-nix-build", name="build flake", jobs=filtered_jobs, all_deps=all_deps,