From: Wei Liu Date: Tue, 7 May 2019 16:11:01 +0000 (+0100) Subject: gitlab-ci: avoid deleting build-each-commit-gcc.log X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~2265 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=004299fba49747ccd614c9abcae9772ec8845e20;p=xen.git gitlab-ci: avoid deleting build-each-commit-gcc.log 072a96c4901 used `git clean -ffdx` which caused the log to be deleted. Generate the log in the parent directory then move it back. Signed-off-by: Wei Liu Acked-by: Doug Goldstein --- diff --git a/automation/gitlab-ci/test.yaml b/automation/gitlab-ci/test.yaml index d4556afe11..7ba20a51da 100644 --- a/automation/gitlab-ci/test.yaml +++ b/automation/gitlab-ci/test.yaml @@ -7,7 +7,8 @@ build-each-commit-gcc: XEN_TARGET_ARCH: x86_64 CC: gcc script: - - ./automation/gitlab-ci/build-each-commit.sh 2>&1 | tee build-each-commit-gcc.log + - ./automation/gitlab-ci/build-each-commit.sh 2>&1 | tee ../build-each-commit-gcc.log + - mv ../build-each-commit-gcc.log . artifacts: paths: - '*.log'