Compare commits

..

1 commit

Author SHA1 Message Date
a5b34ea356 fix: Correct output path with failed builds
Previously, if a build failed to produce any output we would try to
write "None" to the output file. This doesn't work, causing the job to
error. Instead, we should skip writing the output and preserve the
original "failed" status.
2024-09-11 20:54:03 +00:00

View file

@ -341,8 +341,8 @@ class UpdateBuildOutput(steps.BuildStep):
out_path = props.getProperty("out_path")
if not out_path: # if, e.g., the build fails and doesn't produce an output
return util.SKIPPED
if not out_path: # if, e.g., the build fails and doesn't produce an output
return util.SKIPPED
owner = Path(props.getProperty("owner"))
repo = Path(props.getProperty("repository_name"))