From 7a4f0a6f2b6086df5a009c942aa0c3456c28cd4a Mon Sep 17 00:00:00 2001 From: Jehan Date: Sat, 22 May 2021 16:55:04 +0200 Subject: [PATCH] gitlab-ci: redirect installer logs to a file. The logs are just too long for gitlab and ends with: > Job's log exceeded limit of 4194304 bytes. This doesn't prevent the job from actually finish successfully. Yet the day when we will have a build issue, we won't have a way to debug if it happens close to the end of the installer creation. So let's redirect both stderr and stdout to a log file and include it in the artifacts. --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f9cf811283..19397c7d55 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -582,9 +582,10 @@ win-installer-nightly: expire_in: 2 days paths: - build/windows/installer/_Output + - installer.log script: - C:\msys64\usr\bin\pacman --noconfirm -Syyuu - - C:\msys64\usr\bin\bash -lc "bash -x ./build/windows/gitlab-ci/installer-gimp-msys2.sh" + - C:\msys64\usr\bin\bash -lc "bash -x ./build/windows/gitlab-ci/installer-gimp-msys2.sh > installer.log 2>&1" needs: ["packaging-win32-native", "packaging-win64-native"] sources: