]> xenbits.xensource.com Git - people/royger/xen.git/commitdiff
gitlab-ci: avoid deleting build-each-commit-gcc.log
authorWei Liu <wei.liu2@citrix.com>
Tue, 7 May 2019 16:11:01 +0000 (17:11 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 13 May 2019 11:45:57 +0000 (12:45 +0100)
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 <wei.liu2@citrix.com>
Acked-by: Doug Goldstein <cardoe@cardoe.com>
automation/gitlab-ci/test.yaml

index d4556afe119eb2a623491e3218e45c62186b7e43..7ba20a51da800917cda4668e60d4f251560a69b1 100644 (file)
@@ -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'