Skip to content
Snippets Groups Projects
Commit 0e29b761 authored by Chase Qi's avatar Chase Qi
Browse files

ci: use lava job ID as classname prefix to avoid result overwriting


Signed-off-by: default avatarChase Qi <chase.qi@linaro.org>
parent cbc7fd1e
No related branches found
No related tags found
1 merge request!30flavours/zephyr/local.conf.sample: Bump CONF_VERSION
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
health="$(curl --silent "$CI_LAVA_INSTANCE/api/v0.2/jobs/$p/" | jq '.health' | tr -d '"')" health="$(curl --silent "$CI_LAVA_INSTANCE/api/v0.2/jobs/$p/" | jq '.health' | tr -d '"')"
echo "[$health] $link" echo "[$health] $link"
# Get the JUnit export from LAVA. # Get the JUnit export from LAVA.
curl --silent -o job_$p.xml "$CI_LAVA_INSTANCE/api/v0.2/jobs/$p/junit/" curl --silent -o job_$p.xml "$CI_LAVA_INSTANCE/api/v0.2/jobs/$p/junit/?classname_prefix=$p"
echo "Report file: $(ls job_$p.xml)" echo "Report file: $(ls job_$p.xml)"
done < "$file" done < "$file"
done done
......
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