gitlab-ci: avoid deleting build-each-commit-gcc.log
PATCH 1/1 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 <[email protected]>
--- automation/gitlab-ci/test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
automation/gitlab-ci/test.yaml +2 -1
@@ -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'
Signature · 7 lines
2.20.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 5 lines · Wei Liu
072a96c4901usedgit clean -ffdxwhich caused the log to be deleted.Generate the log in the parent directory then move it back.
Signed-off-by Wei Liu <[email protected]>
Acked-by Doug Goldstein <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel