ci/b2c: fix artifact collection
It seems like gitlab puts symlinks in artifacts rather than following them. Let's fix this by copying the results folder from the job_folder in an after script. Signed-off-by: Martin Roukala (né Peres) <martin.roukala@mupuf.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25902>
This commit is contained in:

committed by
Marge Bot

parent
ac16f00352
commit
c580d604fb
@@ -375,9 +375,6 @@ clang-format:
|
||||
rm -rf ${JOB_FOLDER} || true
|
||||
mkdir -v ${JOB_FOLDER}
|
||||
|
||||
# Keep the results path the same as baremetal and LAVA
|
||||
ln -s "$JOB_FOLDER"/results/ .
|
||||
|
||||
# Create a script to regenerate the CI environment when this job
|
||||
# begins running on the remote DUT.
|
||||
set +x
|
||||
@@ -405,6 +402,13 @@ clang-format:
|
||||
# Gitlab coordinator for status presentation. results/junit.xml
|
||||
# will be parsed by the UI for more detailed explanations of
|
||||
# test execution.
|
||||
|
||||
after_script:
|
||||
# Keep the results path the same as baremetal and LAVA
|
||||
- mkdir -p "${JOB_FOLDER}"/results
|
||||
- mv "${JOB_FOLDER}"/results results/
|
||||
- !reference [default, after_script]
|
||||
|
||||
artifacts:
|
||||
when: always
|
||||
name: "mesa_${CI_JOB_NAME}"
|
||||
|
Reference in New Issue
Block a user