JUnit xml files appear as artifacts instead of Tests

docker

#1

I am copying JUnit Xml files out of a docker container into $CIRCLE_TEST_RESULTS/junit however when I look at test summary, I am seeing them as artifacts. How do I get them to show up properly as Tests?

docker cp $(docker ps -l -q):/opt/application/target/test-reports $CIRCLE_TEST_REPORTS/junit

My Artifacts Tab looks like this:

> Container 0
  > $CIRCLE_ARTIFACTS/
    project-name-0.1-SNAPSHOT.jar
  > $CIRCLE_TEST_REPORTS/
    > junit/
      Test1.xml
      Test2.xml

*Edit: Just noticed backtics didnt show up so replaced with $()


#2