diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fdd18777b0ba3500631708d7160b6615821f2687..425b7d1d12198621011e9b82dd55fa0e740de74d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -153,8 +153,8 @@ default:
     - - |
           # ccache_stats
           echo -e "\e[0Ksection_start:`date +%s`:ccache_stats[collapsed=true]\r\e[0Kccache statistics:"
-      - ccache --show-stats --verbose
-      - ccache --show-log-stats --verbose
+      - ccache --show-stats --verbose || ccache --show-stats
+      - ccache --show-log-stats --verbose || ccache --show-log-stats
       - |
           # ccahe_stats
           echo -e "\e[0Ksection_end:`date +%s`:ccache_stats\r\e[0K"
@@ -673,8 +673,8 @@ Alpine 3 GCC:
     - - |
           # ccache_stats
           echo -e "\e[0Ksection_start:`date +%s`:ccache_stats[collapsed=true]\r\e[0Kccache statistics:"
-      - ccache --show-stats --verbose
-      - ccache --show-log-stats --verbose
+      - ccache --show-stats --verbose || ccache --show-stats
+      - ccache --show-log-stats --verbose || ccache --show-log-stats
       - |
           # ccahe_stats
           echo -e "\e[0Ksection_end:`date +%s`:ccache_stats\r\e[0K"