mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-02 18:20:52 +02: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"):
|
for line in self.observer.getStdout().split("\n"):
|
||||||
if line != "":
|
if line != "":
|
||||||
job = json.loads(line)
|
job = json.loads(line)
|
||||||
if "error" in job.keys():
|
if "error" not in job.keys():
|
||||||
jobs.append(job)
|
jobs.append(job)
|
||||||
self.build.addStepsAfterCurrentStep(
|
self.build.addStepsAfterCurrentStep(
|
||||||
[BuildTrigger(scheduler="nix-build", name="nix-build", jobs=jobs)]
|
[BuildTrigger(scheduler="nix-build", name="nix-build", jobs=jobs)]
|
||||||
|
|
Loading…
Add table
Reference in a new issue