It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Configure Test reporting path help Edited

My app is AngularJS application + Jasmine+Karma

In yaml file - given npm test, and deploying to firebase. App is getting deployed successfully.

But i'm not able to view the test results. In logs i see test success.

API url:

/repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports

{ "error": { "message": "Not found", "detail": "No test report exists for the step with the uuid provided.", "data": { "key": "report-service.test-report.not-found", "arguments": { "uuid": "{7f6aabf0-01d1-4529-b424-7fafb1180aa1}" } } }}

 

I understand we need to configure test path as per this link - 

https://confluence.atlassian.com/bitbucket/test-reporting-in-pipelines-939708543.html

 

I did changes in karma as well as below

junitReporter: {
outputDir: '/opt/atlassian/pipelines/agent/build/target/test-reports/', 
outputFile: 'report.xml'
},

Even after setting the output dir - i see report.xml generated in this folder /opt/atlassian/pipelines/agent/build/

Can you please share the steps to configure.

 

0 comments

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

722 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you