GithubHelp home page GithubHelp logo

Comments (4)

danielpalme avatar danielpalme commented on June 12, 2024 1

The url is not generated by ReportGenerator. It's generated by your code coverage tool (e.g. coverlet).

Please have a look at my comment here:
#501 (comment)

This comment describes how you can create a "Personal/System access token" and pass the token to ReportGenerator.

With this token, ReportGenerator will be able to access the file.

from reportgenerator.

danielpalme avatar danielpalme commented on June 12, 2024

ReportGenerator reads the code files that appear in your coverage.cobertura.xml file(s).
I guess one code file has the path 'https://dev.azure.com/{repo}/_apis/git/repositories/{repo}/items?api-version=1.0&versionType=commit&version=xxxxxxx&path={file}''.

Perhaps you can have a look at the coverage.cobertura.xml file(s). Does is contain the url?

from reportgenerator.

chenlish avatar chenlish commented on June 12, 2024

ReportGenerator reads the code files that appear in your coverage.cobertura.xml file(s). I guess one code file has the path 'https://dev.azure.com/{repo}/_apis/git/repositories/{repo}/items?api-version=1.0&versionType=commit&version=xxxxxxx&path={file}''.

Perhaps you can have a look at the coverage.cobertura.xml file(s). Does is contain the url?

thanks for your quick response.
Yes, the 'coverage.cobertura.xml' file contains the url. like:

<class name="" filename="{url here}" line-rate="0" branch-rate="0" complexity="6">

because the git commit does not include those files, so it will throw errors here.
does this url generated by the reportGenerator? how can i config the reportGenerator parameters to resolve it?

thanks.

from reportgenerator.

chenlish avatar chenlish commented on June 12, 2024

@danielpalme resolved. help me a lot. thanks.

from reportgenerator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.