Skip to content

Commit 0763653

Browse files
authored
Merge pull request #2789 from regro/print-it-anyways
ENH report at end
2 parents 7aa8b69 + 1702dad commit 0763653

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docker/run_bot_task.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,19 @@ def _provide_source_code():
154154
output_source_code = "/cf_tick_dir/source_dir"
155155
os.makedirs(output_source_code, exist_ok=True)
156156

157-
with wurlitzer.pipes(), provide_source_code_local(recipe_dir) as cb_work_dir:
157+
with (
158+
wurlitzer.pipes(stderr=wurlitzer.STDOUT) as (out, _),
159+
provide_source_code_local(recipe_dir) as cb_work_dir,
160+
):
158161
chmod_plus_rwX(cb_work_dir, recursive=True, skip_on_error=True)
159162
sync_dirs(
160163
cb_work_dir, output_source_code, ignore_dot_git=True, update_git=False
161164
)
162165
chmod_plus_rwX(output_source_code, recursive=True, skip_on_error=True)
163166

167+
# report even if not live
168+
sys.stderr.write(out.read())
169+
164170
return dict()
165171

166172

0 commit comments

Comments
 (0)