This is even called when the build has failed in which case we don't
have any packages that we can use here.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
DEBUG(job->ctx, "Job %s has finished with status %d\n", job->id, status);
- // Check if we have any uploads - except for test builds
- if (!(job->flags & PAKFIRE_JOB_TEST)) {
- if (!job->uploads) {
- ERROR(job->ctx, "There are no uploads\n");
- r = -EINVAL;
- goto ERROR;
- }
- }
-
// Fetch the filename of the log file
filename = pakfire_log_file_filename(job->log.file);
if (!filename) {