The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I'm following the documentation here:
https://support.atlassian.com/bitbucket-cloud/docs/test-reporting-in-pipelines/
Created a pipeline like the example:
script:
- dotnet tool install -g trx2junit
- dotnet test --logger 'trx;LogFileName=log.trx'
after-script:
- export PATH="$PATH:/root/.dotnet/tools"
- trx2junit ./TestResults/*.trx
At the end I see this:
Finished scanning for test reports. Found 1 test report files.
Merged test suites, total number tests is 65, with 0 failures and 0 errors.
Uploading test results
Finished uploading test results.
However I don't see the results anywhere... Where should I see the uploaded files?
What's missing?
Hello @Rafael F_ ,
Thank you for reaching out to Atlassian Community.
As per our documentation "The Tests tab will only show if you have failed tests to review". Since all your tests were successful, the test tab is not showing in your build.
In case you want to always have the ability to download the test file, you can use artifacts instead :
- step: name: Build and test
script:
- npm install
- npm test
- npm run build
artifacts: # defining the artifacts
- TestResults/*.trx
The artifacts will be available for download for 14 days, and after this period they will be deleted.
You can also refer to our official documentation related to artifacts using the following link :
Hope that helps! Let me know in case you have any questions.
Thank you, @Rafael F_ .
Kind regards,
Patrik S
Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.