From 27204bca13f1a146d0048a14b272a44dd7605000 Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Mon, 16 Mar 2026 22:28:59 +0800 Subject: [PATCH 1/2] Emergency fix invoice transaction details inaccurate --- app/Console/Kernel.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 74208ee0..26f31fff 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -71,8 +71,12 @@ class Kernel extends ConsoleKernel ->cron('0 1 * * *') ->withoutOverlapping(); + // $schedule->command('invoice-generate-command') + // ->hourly() + // ->withoutOverlapping(); + $schedule->command('invoice-generate-command') - ->hourly() + ->cron('0 0-8,10-11,13-14,16-17,19-23 * * *') ->withoutOverlapping(); $schedule->command('billplz-failed-callback-fix-command') From 7dfa7b0220d30d3cf3585eb2bd5c745cd5a54847 Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Mon, 16 Mar 2026 22:52:12 +0800 Subject: [PATCH 2/2] Update Jenkinsfile --- Jenkinsfile | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 60245b20..011d7b3b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -107,10 +107,29 @@ pipeline { steps { script { try { - sh 'docker image prune -a -f' + sh ''' + echo "Starting Docker cleanup..." + + # Remove stopped containers + docker container prune -f + + # Remove unused networks + docker network prune -f + + # Remove unused images + docker image prune -a -f + + # Remove unused build cache + docker builder prune -f + + echo "Docker cleanup completed." + + docker system df + ''' } catch (Exception e) { echo "Error during cleanup: ${e.message}" } + currentBuild.description = 'Step 6 of 6 Completed' } }