also upload output in case of job failure
@@ -523,8 +523,6 @@ class RunJob(Job):
self.upload_badge_files()
self.upload_archive()
- self.create_dynamic_jobs()
-
# Compressing output
c.collect("Uploading /infrabox/output", show=True)
if os.path.isdir(self.infrabox_output_dir) and os.listdir(self.infrabox_output_dir):
@@ -542,6 +540,8 @@ class RunJob(Job):
c.collect("", show=True)
+ self.create_dynamic_jobs()
+
# Compressing cache
c.collect("Uploading /infrabox/cache", show=True)
if not self.job['definition'].get('cache', {}).get('data', True):
