jenkinsci / allure-plugin

Allure Jenkins Plugin
https://plugins.jenkins.io/allure-jenkins-plugin/
Other
84 stars 63 forks source link

Aggregated allure report from downstream jobs doesn't show video files #300

Open ibrocodes7 opened 2 years ago

ibrocodes7 commented 2 years ago

Jenkins and plugins versions report

Environment ```text Paste the output here ```

What Operating System are you using (both controller, and any agents involved in the problem)?

This happens on Jenkins run

Reproduction steps

  1. Create an upstream job, which then starts n number of downstream jobs.

  2. Archive allure result in all of the downstream jobs archiveArtifacts artifacts: 'test-results/', allowEmptyArchive: true allure includeProperties: false, jdk: '', results: [ [path: 'allure-results'] ] archiveArtifacts artifacts: 'allure-results/*', allowEmptyArchive: true

  3. Copy the archived artifacts from the downstream jobs to upstream job.

  4. copyArtifacts( filter: "test-results/", projectName: 'pw-e2e-slave', selector: specific("${job.number}") ); copyArtifacts( filter: "allure-results/*", projectName: 'pw-e2e-slave', selector: specific("${job.number}") );

  5. Archive the artifacts

  6. archiveArtifacts artifacts: 'test-results/', allowEmptyArchive: true archiveArtifacts artifacts: 'allure-results/*', allowEmptyArchive: true allure([ includeProperties: false, jdk: '', properties: [], reportBuildPolicy: 'ALWAYS', results: [ [path: 'blink-playwright/allure-results'] ] ])

Expected Results

Allure result in the master(upstream job) should show the video, screenshot, and trace files. But they all are empty.

Actual Results

Screenshot 2022-01-11 at 9 33 17 AM

Anything else?

I am able to view video, screenshots files perfectly on the downstream allure report.