Dmitry Minaev
Dmitry Minaev

Reputation: 41

Allure Jenkins Plugin generating invalid links in html report

I am using Allure for report generation and everything is fine except one thing - all links inside allure html report is broken: e.g. expected link to build in 'executors' section should look like:

http ://localhost:8080/job/MyJob/1

but I'm getting:

http ://localhost:8080/job/MyJob/allure/nulljob/MyJob/1

and

Not Found

error on click as per below screenshot:

Please, help me figure out what reason might stand behind this?

Upvotes: 2

Views: 1217

Answers (2)

Dmitry Minaev
Dmitry Minaev

Reputation: 41

Problem solved after setting 'Jenkins URL' as suggested in subsequent answer:

Cannot compute absolute URL when generating Allure report with plugin in Jenkins

Upvotes: 2

Mor Lajb
Mor Lajb

Reputation: 2636

What is your Jenkins version ?

Did you make sure your security settings are OK ? https://github.com/allure-framework/allure1/issues/715#issuecomment-180474020

Mor

Upvotes: 0

Related Questions