On Jenkins Pipeline, Reports are not being generated correctly #2775
Unanswered
ch-akash
asked this question in
Questions & Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I was trying to integrate Allure with our Jenkins pipeline. After the execution of tests, I can see this message on Jenkins console:
Jenkins Logs
17:06:52 [PAM_tests_PR-131] $ /cara-jenkins-workspace/tools/ru.yandex.qatools.allure.jenkins.tools.AllureCommandlineInstallation/allure/bin/allure generate -c -o /cara-jenkins-workspace/workspace/PAM_tests_PR-131/allure-report
17:06:53 allure-results does not exist
17:06:54 Report successfully generated to /cara-jenkins-workspace/workspace/PAM_tests_PR-1[3](https://supermarket-jenkins.test.h.zeal.zone/job/PAM/job/tests/job/PR-131/2/pipeline-console/?start-byte=0&selected-node=407#log-3)1/allure-report 17:06:54 Allure report was successfully generated.
But when we try to open Allure report, it looks broken.
Jenkins File:
We Tried To Replicate On Local Machine
Initially, I thought the location of allure-results on Jenkins is not correct in out Jenkinsfile but whenI tried the generate command to replicate issue on local and here is what I found:
allure-results
folder exists and I can see the data in it:allure generate -c -o allure-results
) command with allure-results folder, it gave me same error message thatallure-results
folder becomes after allure generate commandProject Dependencies
I saw a similar question #2585 but it does not look the same issue in my case.
Any help or suggestions will definitely help me. This is my first time I am having any issues with Allure and most of the time the documentation is always enough. Not sure what is wrong in this setup.
Beta Was this translation helpful? Give feedback.
All reactions