fix(eval): event.refUpdate.project
instead of event.project
Signed-off-by: Raito Bezarius <raito@lix.systems>
This commit is contained in:
parent
baa085302d
commit
18a122a8f6
|
@ -347,7 +347,8 @@ class NixEvalCommand(buildstep.ShellMixin, steps.BuildStep):
|
|||
# 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.getProperty('event.project')
|
||||
project_name = build_props.getProperty('event.refUpdate.project')
|
||||
assert project_name is not None, "`event.refUpdate.project` is not available on the build properties, unexpected build type!"
|
||||
|
||||
yield self.runCommand(cmd)
|
||||
|
||||
|
|
Loading…
Reference in a new issue