LivingDoc throwing syntax error when generated on Azure Hosted Agents
We are currently using the LivingDoc CLI tool to generate our .html report in an Azure DevOps release pipeline. We don't want to use the Azure DevOps plugin because it doesn't retain historical results, so what we're doing is running our tests, generating the .html file as part of a task in the release, moving it to a blob and generating a URL against the test run so people can view the results.
When we run this on our local machines it works fine, but when we run it on a hosted agent, we get a syntax error.

I've done some digging in the .html file itself, and it looks like what is happening is in the local one, multiple locale configurations that have special characters (such as say, Arabic) are put in the file correctly as per the below screenshot.

However, when running on a hosted agent, these characters are not present.

We are using the latest version of the CLI tool and the .nuget package in our solution. Has anyone else had this issue and managed to resolve it? Specifying the project language as a parameter didn't help, and we're at a loss at what to do here.
Please sign in to leave a comment.
Comments
0 comments