From b5681b1ea01b8782deaf7b8924d8a6c86b904d90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 13 Oct 2023 00:38:57 +0200 Subject: [PATCH] remove incorrect skip if path exists the path might exists also the build failed --- buildbot_nix/buildbot_nix.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/buildbot_nix/buildbot_nix.py b/buildbot_nix/buildbot_nix.py index 1b9ca2c..2e62bac 100644 --- a/buildbot_nix/buildbot_nix.py +++ b/buildbot_nix/buildbot_nix.py @@ -209,12 +209,6 @@ class NixBuildCommand(buildstep.ShellMixin, steps.BuildStep): log: Log = yield self.addLog("nix_error") log.addStderr(f"{attr} failed to evaluate:\n{error}") return util.FAILURE - path = self.getProperty("out_path") - - # FIXME: actually we should check if it exists in the remote machine - if os.path.exists(path): - # build already succeeded - return util.SKIPPED # run `nix build` cmd: remotecommand.RemoteCommand = yield self.makeRemoteShellCommand()