mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-27 06:10:53 +01:00
feat: failed evaluation doesnt create a job anymore (3)
This commit is contained in:
parent
cde7bc76b2
commit
4b3678e8b7
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class NixEvalCommand(buildstep.ShellMixin, steps.BuildStep):
|
|||
for line in self.observer.getStdout().split("\n"):
|
||||
if line != "":
|
||||
job = json.loads(line)
|
||||
if "error" in job.keys():
|
||||
if "error" not in job.keys():
|
||||
jobs.append(job)
|
||||
self.build.addStepsAfterCurrentStep(
|
||||
[BuildTrigger(scheduler="nix-build", name="nix-build", jobs=jobs)]
|
||||
|
|
Loading…
Add table
Reference in a new issue