From 5eadf277371488dba2fd659ac48d50faf350a7d0 Mon Sep 17 00:00:00 2001 From: "Petr \"Stone\" Hracek" Date: Mon, 19 Oct 2026 12:43:17 +0200 Subject: [PATCH] Upload successful nightly build logs to PrivateBin Previously, logs were only uploaded to PrivateBin for failed builds. Now the successful build report also sends logs to PrivateBin, so results are accessible regardless of build outcome. Fixes: https://github.com/sclorg/ci-scripts/issues/235 Co-Authored-By: Claude Opus 4.6 (1M context) --- daily-tests/daily_tests/daily_nightly_tests_report.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/daily-tests/daily_tests/daily_nightly_tests_report.py b/daily-tests/daily_tests/daily_nightly_tests_report.py index eb5ee6c..551e1f9 100755 --- a/daily-tests/daily_tests/daily_nightly_tests_report.py +++ b/daily-tests/daily_tests/daily_nightly_tests_report.py @@ -430,8 +430,12 @@ def generate_success_containers(self): print("GENERATE SUCCESS CONTAINERS") for test_case, cont_path, log_name in self.data_dict["SUCCESS_DATA"]: if os.path.exists(log_name): + paste_bin_file = f"{cont_path}.txt" + self.send_file_to_pastebin( + log_path=cont_path, log_name=paste_bin_file + ) self.body += ( - f" See logs" + f" {log_name}" f"
" )