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

Can't read file: Can't access the file

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Hello
      I have:
      Jenkins ver. 2.138.2 for NAT.
      Cppcheck 1.85
      Cppcheck Plugin 1.24

      When I try to view a detailed scan result (example: https://wiki.jenkins.io/download/attachments/37749668/1.15_code.png?version=1&modificationDate=1395260940000&api=v2) I get the error "Can't read file: Can ' t access the file: file: ".
      Inside the local network everything is allowed.
      Connection to the node via SSH.
      Jenkins on Linux, node on Linux.

      What should I do?

        Attachments

          Activity

          Hide
          c000l unkown unkown added a comment -

          Thank you for that information. Now  i'm using the warnings next generation plugin.

          Show
          c000l unkown unkown added a comment - Thank you for that information. Now  i'm using the warnings next generation plugin.
          Hide
          mikescholze Mike Scholze added a comment - - edited

          I think cppcheck plugin project is more or less dead. But you can use the new warnings next generation plugin. It contains cppcheck and visualize issues perfectly.

          https://wiki.jenkins.io/display/JENKINS/Warnings+Next+Generation+Plugin

          Show
          mikescholze Mike Scholze added a comment - - edited I think cppcheck plugin project is more or less dead. But you can use the new warnings next generation plugin. It contains cppcheck and visualize issues perfectly. https://wiki.jenkins.io/display/JENKINS/Warnings+Next+Generation+Plugin
          Hide
          c000l unkown unkown added a comment -

          I got the same error. Is there any chance to get a working fix for this problem? Without the view for the detailed results, the plugin is not really useful for me.

          Show
          c000l unkown unkown added a comment - I got the same error. Is there any chance to get a working fix for this problem? Without the view for the detailed results, the plugin is not really useful for me.
          Hide
          floatice ice zeng added a comment -
          Show
          floatice ice zeng added a comment - it doesn't work by using custom workspace and install   https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fcppcheck-plugin/detail/PR-46/2/artifacts/
          Hide
          smuppala Supraja Muppala added a comment -

          hi hechao, 

                    I applied a fix (https://github.com/jenkinsci/cppcheck-plugin/pull/46) for the plugin and it worked. I followed below steps

           

          Cppcheck 1.24 version had an issue and the fix was available online but the code was never pushed. Followed the below steps and it picked up the new code.

          ============================

          Steps to have new plugin on your jenkins Instance.

          login to jenkins server

          cd to /var/lib/jenkins/plugins

          rename cppcheck.jpi cppcheck.jpi.orig.v1.24

          cppcheck cppcheck.orig.v1.24

          download cppcheck.hpi file from https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fcppcheck-plugin/detail/PR-46/2/artifacts/

          Copy to /var/lib/jenkins/plugins dir

          and restart the jenkins service

          ==============================

          Show
          smuppala Supraja Muppala added a comment - hi hechao,            I applied a fix ( https://github.com/jenkinsci/cppcheck-plugin/pull/46 ) for the plugin and it worked. I followed below steps   Cppcheck 1.24 version had an issue and the fix was available online but the code was never pushed. Followed the below steps and it picked up the new code. ============================ Steps to have new plugin on your jenkins Instance. login to jenkins server cd to /var/lib/jenkins/plugins rename cppcheck.jpi cppcheck.jpi.orig.v1.24 cppcheck cppcheck.orig.v1.24 download cppcheck.hpi file from https://ci.jenkins.io/blue/organizations/jenkins/Plugins%2Fcppcheck-plugin/detail/PR-46/2/artifacts/ Copy to /var/lib/jenkins/plugins dir and restart the jenkins service ==============================

            People

            • Assignee:
              marcosteffan Marco Steffan
              Reporter:
              mamoamo Amo Mamo
            • Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated: