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

Post-Build-Step "Publish Cppcheck results" not available in job generator project

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The post-build-step provided by the cppcheck plugin is not available in the "job generator" plugin.

        Attachments

          Activity

          Hide
          dergruebel Lukas Goormann added a comment -

          Hmmm progress made... can now find the "Publish CppCheck" step in the job-generator Postbuild menu, but clicking it does not have any visible effect...

          Show
          dergruebel Lukas Goormann added a comment - Hmmm progress made... can now find the "Publish CppCheck" step in the job-generator Postbuild menu, but clicking it does not have any visible effect...
          Hide
          mixalturek Michal Turek added a comment -

          Hi Lukas,

          I have just tried to reproduce your issue, but it works for me with Jenkins 1.578, Cppcheck plugin 1.19, Job Generator plugin 1.22 and 64-bit Linux version of Chrome 37.

          I executed Jenkins using the command below and manually installed the plugins using the update center.

          mkdir -p home
          export JENKINS_HOME=home && java -jar jenkins.war
          

          I created Job Generator job template, added Cppcheck publisher there and configured it. Then I generated a new job using the generator, executed a built and verified the published Cppcheck data are available.

          I guess if there is any issue it will be in some JavaScript that comes directly from Jenkins. The plugin only provides a string to display in this menu, the real adding of publisher is done by Jenkins itself.

          • Did you try to refresh the configuration page and try again?
          • Did you try to add a different publisher using the same menu?
          • Did you try a different web browser?
          • Can you verify the issue is still present in the latest versions?

          M.

          Show
          mixalturek Michal Turek added a comment - Hi Lukas, I have just tried to reproduce your issue, but it works for me with Jenkins 1.578, Cppcheck plugin 1.19, Job Generator plugin 1.22 and 64-bit Linux version of Chrome 37. I executed Jenkins using the command below and manually installed the plugins using the update center. mkdir -p home export JENKINS_HOME=home && java -jar jenkins.war I created Job Generator job template, added Cppcheck publisher there and configured it. Then I generated a new job using the generator, executed a built and verified the published Cppcheck data are available. I guess if there is any issue it will be in some JavaScript that comes directly from Jenkins. The plugin only provides a string to display in this menu, the real adding of publisher is done by Jenkins itself. Did you try to refresh the configuration page and try again? Did you try to add a different publisher using the same menu? Did you try a different web browser? Can you verify the issue is still present in the latest versions? M.
          Hide
          dergruebel Lukas Goormann added a comment - - edited

          Hi Micheal,

          Thx for your reply. I veryfied the problem again, using Jenkins 1.578 and Cppcheck plugin 1.19, Job Generator plugin 1.22 on Win7 System.
          Browser is IE9 (update Version 9.0.30 )(due to Company Restrictions). Results:

          • Refresh Configuration Page as well as reloading Jenkins Configuration as well as Restarting Jenkins didn't help.
          • Other Publishers in Same menu are working fine.
          • Tried Portable Version of Firefox: Works! (-> IE9 Problem?)
          • Deletion of temp-Files of IE does not help either

          Additional: Collegue tried Manually build/installed Version of CppCheckPlugin (own build not through update center), also works.

          Show
          dergruebel Lukas Goormann added a comment - - edited Hi Micheal, Thx for your reply. I veryfied the problem again, using Jenkins 1.578 and Cppcheck plugin 1.19, Job Generator plugin 1.22 on Win7 System. Browser is IE9 (update Version 9.0.30 )(due to Company Restrictions). Results: Refresh Configuration Page as well as reloading Jenkins Configuration as well as Restarting Jenkins didn't help. Other Publishers in Same menu are working fine. Tried Portable Version of Firefox: Works! (-> IE9 Problem?) Deletion of temp-Files of IE does not help either Additional: Collegue tried Manually build/installed Version of CppCheckPlugin (own build not through update center), also works.
          Hide
          mixalturek Michal Turek added a comment -

          This is strange. Is the own build from the same sources and without any change (like different version of parent in Maven) and running under the same version of Jenkins in the same environment? I'm looking at JENKINS-14491 and JENKINS-14514, did you notice any error in Jenkins log or javascript console (if IE has anything like this) after clicking the button?

          As I said this looks more like Jenkins core issue than issue of this plugin, I'm only returning a string with "Publish Cppcheck results" in getDisplayName(). I have neither IE nor Windows so debugging from my side is impossible.

          Show
          mixalturek Michal Turek added a comment - This is strange. Is the own build from the same sources and without any change (like different version of parent in Maven) and running under the same version of Jenkins in the same environment? I'm looking at JENKINS-14491 and JENKINS-14514 , did you notice any error in Jenkins log or javascript console (if IE has anything like this) after clicking the button? As I said this looks more like Jenkins core issue than issue of this plugin, I'm only returning a string with "Publish Cppcheck results" in getDisplayName(). I have neither IE nor Windows so debugging from my side is impossible.
          Hide
          mixalturek Michal Turek added a comment -

          The issue is related to a particular version of Jenkins core together with quite old version of IE so I'm closing this task for Cppcheck plugin. Please open a new Jenkins core task if you want to continue with any investigation.

          Show
          mixalturek Michal Turek added a comment - The issue is related to a particular version of Jenkins core together with quite old version of IE so I'm closing this task for Cppcheck plugin. Please open a new Jenkins core task if you want to continue with any investigation.

            People

            • Assignee:
              mixalturek Michal Turek
              Reporter:
              dergruebel Lukas Goormann
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: