Skip to content
Snippets Groups Projects
Commit faa3cd2b authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

.oniro-ci: artifacts can be symbolic links


The find call that was used to copy artifacts selected only files. In
some cases, bitbake generates symbolic links that are worth copying as
well. Extend the find expression to find both.

Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent 32b6c6e7
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !100. Comments created here will be created in the context of that merge request.
......@@ -293,7 +293,7 @@
(
cd "$BITBAKE_TMPDIR"/deploy/
for artifact in $CI_ONIRO_JOB_ARTIFACTS; do
find ./ -type f -name "$artifact" -exec cp --verbose --archive --parents {} "$CI_PROJECT_DIR"/artifacts \;
find ./ \( -type f -o type l \) -name "$artifact" -exec cp --verbose --archive --parents {} "$CI_PROJECT_DIR"/artifacts \;
done
)
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment