[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen staging] gitlab-ci: avoid deleting build-each-commit-gcc.log



commit 004299fba49747ccd614c9abcae9772ec8845e20
Author:     Wei Liu <wei.liu2@xxxxxxxxxx>
AuthorDate: Tue May 7 17:11:01 2019 +0100
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Mon May 13 12:45:57 2019 +0100

    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 <wei.liu2@xxxxxxxxxx>
    Acked-by: Doug Goldstein <cardoe@xxxxxxxxxx>
---
 automation/gitlab-ci/test.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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'
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.