I'm trying to access my tests results as the build fails in pipelines, but works in three other environments I tested in.
The project is a multi-module gradle project, structured something like this (ommitted all other projects for clarity):
|---> java (level 1)
|------> data-importer (level 2)
| (java code for data-importer)
The project is using fairly standard gradle + Spring boot configuration otherwise.
One of the tests in data-importer fails, and the path to the results should be /opt/atlassian/pipelines/agent/build/java/data-importer/build/test-results/test/
According to documentation on: https://confluence.atlassian.com/bitbucket/test-reporting-in-pipelines-939708543.html, the pipelines will look for test results in:
./**/test-results/*.xmlThe test report file scanner will begin searching from the base directory of your build:
I believe the problem is either with the path (it is ./**/test-results/*.xml instead of ./**/test-results/test/*.xml), or the fact you only scan 3 directory levels down (not entirely sure how this is counted).
Is there any way I can access the test results other than through pipelines web interface? Alternatively, can you check if there is a problem on your side and the tests path should be amended (or an extra location added) ?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs