Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-75785

Add ability to discern modified lines in rendered source files

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • coverage-plugin
    • None

      Where I work we currently use the coverage plugin to implement code coverage enforcement on modified code as part of PRs.

      There is currently no way to visualise what lines are modified in a file part of a change set. This slows things down when reviewing as one has to switch between the PR diff and the rendered source files from the plugin to figure out what parts of the PR is uncovered. It also increases the risk of code slipping between the cracks when reviewing.

      As a simple solution, we can merely add a CSS class to the lines in rendered source files that are modified, this allows for styling by integrators. See example in attachment.

            drulli Ulli Hafner
            jeppeman Jesper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: