mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
Merge branch 'dillon/143-fix-invoice-transaction-details-inaccurate' into vapor/staging
This commit is contained in:
Vendored
+20
-1
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user