Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket pipeline- could not find htmlextra report post parallel run is complete

shivuhandral10 December 2, 2022

Am running the postman collection in Bitbucket with parallel run & run result is pass but htmlextra report is missing 1st parallel step.PNG2nd parallel step.PNGboth the steps.

am using below code in yml file. Can someone assist on this plz ?

pipelines:
  default:    
     - step:
          name: I - Scenarios 
          script: # Modify the commands below to build your repository.
            - npm install -g newman
            - npm install -g newman-reporter-html 
            - npm install -g newman-reporter-htmlextra 
            - newman --version
     - parallel:                
        - step:
            name : Scenario1
            script: 
              - newman run ./aa/bb/Scenario1.postman_collection.json -e ./aa/bb/Scenario1.json --reporters cli,htmlextra --reporter-htmlextra-export testReport.html --delay-request 500
        - step:
            name : Scenario2
            script: 
              - newman run ./aa/bb/Scenario2.postman_collection.json -e ./aa/bb/Scenario2_environment.json --reporters cli,htmlextra --reporter-htmlextra-export testReport.html --delay-request 500
            artifacts:
               - testReport.html

 

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 5, 2022

Hi @shivuhandral10 and welcome to the community.

Test reporting in Bitbucket Pipelines works with JUnit and Maven Surefire XML formats at the moment, HTML reports will not be displayed.

If you would like to configure XML reports to be displayed in your Pipelines builds, you can have a look at the following documentation for more details and info on configuration:

We have a feature request to support HTML reports in Pipelines:

You can add your vote and feedback to that feature request in order to express your interest.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events