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

JaCoCo: link in line coverage column no longer works

    Details

    • Similar Issues:

      Description

      After an update to Jenkins ver. 1.570 and JaCoCo plugin ver. 1.0.16 the links on the coverage column no longer work.

      Error:
      HTTP ERROR 404

      Problem accessing /view/trunk/view/trunk/job/trunk-server-jms/lastSuccessfulBuild/jacoco/. Reason:

      Not Found

      Powered by Jetty://

        Attachments

          Issue Links

            Activity

            alexanderv Alexander Veit created issue -
            Hide
            centic centic added a comment -

            Which version of the plugin and jenkins server did you upgrade from?

            Show
            centic centic added a comment - Which version of the plugin and jenkins server did you upgrade from?
            Hide
            alexanderv Alexander Veit added a comment -

            The updated Jenkins version probably was 1.569; the JaCoCo plugin version was the version preceding 1.0.16.

            Show
            alexanderv Alexander Veit added a comment - The updated Jenkins version probably was 1.569; the JaCoCo plugin version was the version preceding 1.0.16.
            Hide
            saucistophe Christophe Carpentier added a comment -

            I have the same problem. Jenkins 1.578, JaCoCo 1.0.15.

            When I'm in the default view, the bug does not occur. When I'm in a specific view, The URL has the same structure as the OP:
            http://URL/jenkins/view/MyViewName/view/MyViewName/job/MyJobName/lastSuccessfulBuild/jacoco/ .

            The "view/MyViewName/" is repeated twice, which causes the link to fail.
            Removing one or both of the occurences works just fine; the report is generated ok. The problem concerns the link only.

            Show
            saucistophe Christophe Carpentier added a comment - I have the same problem. Jenkins 1.578, JaCoCo 1.0.15. When I'm in the default view, the bug does not occur. When I'm in a specific view, The URL has the same structure as the OP: http://URL/jenkins/view/MyViewName/view/MyViewName/job/MyJobName/lastSuccessfulBuild/jacoco/ . The "view/MyViewName/" is repeated twice, which causes the link to fail. Removing one or both of the occurences works just fine; the report is generated ok. The problem concerns the link only.
            Hide
            centic centic added a comment -

            It seems to happen only for views other than the default view, seems Jenkins provides an different ${job.url} then, not sure how to fix this, will need to dig a bit more into it.

            Show
            centic centic added a comment - It seems to happen only for views other than the default view, seems Jenkins provides an different ${job.url} then, not sure how to fix this, will need to dig a bit more into it.
            centic centic made changes -
            Field Original Value New Value
            Assignee Ognjen Bubalo [ ognjenb ] centic [ centic ]
            Hide
            centic centic added a comment -

            Seems to be a general problem in Jenkins, I have reported JENKINS-25113 to track this, there may be a workaround possible that I will try to put in place.

            Show
            centic centic added a comment - Seems to be a general problem in Jenkins, I have reported JENKINS-25113 to track this, there may be a workaround possible that I will try to put in place.
            centic centic made changes -
            Link This issue depends on JENKINS-25113 [ JENKINS-25113 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Dominik Stadler
            Path:
            src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/column.jelly
            http://jenkins-ci.org/commit/jacoco-plugin/44b5d298f3b36f57bc420d333b9ba56bbbac4850
            Log:
            JENKINS-23623: Fix URL in JaCoCo Coverage Column in non-default views, works around JENKINS-25113

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Dominik Stadler Path: src/main/resources/hudson/plugins/jacococoveragecolumn/JaCoCoColumn/column.jelly http://jenkins-ci.org/commit/jacoco-plugin/44b5d298f3b36f57bc420d333b9ba56bbbac4850 Log: JENKINS-23623 : Fix URL in JaCoCo Coverage Column in non-default views, works around JENKINS-25113
            Hide
            centic centic added a comment -

            Applied workaround via https://github.com/jenkinsci/jacoco-plugin/commit/44b5d298f3b36f57bc420d333b9ba56bbbac4850, will be contained in next release 1.17

            Show
            centic centic added a comment - Applied workaround via https://github.com/jenkinsci/jacoco-plugin/commit/44b5d298f3b36f57bc420d333b9ba56bbbac4850 , will be contained in next release 1.17
            centic centic made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            mheinzerling Martin Heinzerling made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 156406 ] JNJira + In-Review [ 207819 ]

              People

              • Assignee:
                centic centic
                Reporter:
                alexanderv Alexander Veit
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: