You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configured a pipeline to test and publish results. The test is scripted to test a terraform Plan output.
when running the tasks:
go get -u github.com/jstemmer/go-junit-report
go test -v -timeout 60m 2>&1 | go-junit-report > report.xml
and Publish test results
The pipline passes but the publish test result task give the following error
##[warning]Failed to read D:\a\1\go\src\s***\CentralUS\Global\VirtualNetwork\test\report.xml. Error : '.', hexadecimal value 0x00, is an invalid character. Line 2, position 1..
No build level attachments to publish.
Finishing: Publish Test Results D:\a\1\go\src\s**\report.xml
The text was updated successfully, but these errors were encountered:
The Publish test results throws error on Windows agent with Error : '.', hexadecimal value 0x00, is an invalid character. Line 2, position 1..
It does not give error on Linux agent
Configured a pipeline to test and publish results. The test is scripted to test a terraform Plan output.
when running the tasks:
go get -u github.com/jstemmer/go-junit-report
go test -v -timeout 60m 2>&1 | go-junit-report > report.xml
and Publish test results
The pipline passes but the publish test result task give the following error
##[warning]Failed to read D:\a\1\go\src\s***\CentralUS\Global\VirtualNetwork\test\report.xml. Error : '.', hexadecimal value 0x00, is an invalid character. Line 2, position 1..
No build level attachments to publish.
Finishing: Publish Test Results D:\a\1\go\src\s**\report.xml
The text was updated successfully, but these errors were encountered: