- From the Jenkins home screen navigate to
Manage Jenkins > Script Consoleand type in the following command:
System.setProperty("hudson.model.DirectoryBrowserSupport.CSP", "")
- Then press
Run. - If you see the output as
Result:below the Result header, then it has run successfully. - You'll need to
CommitandPushagain so that another build creates another HTML report before you can see one generated successfully.
From the command line:
allure serve <xml or json file directory>