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

Valgrind plugin does not work when providing multiple Executable Arguments for run.

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • valgrind-plugin
    • Running on Linux

      I have this executable that takes multiple command line arguments.
      So in the Build Run Valgrind dialog for Executable Arguments I have in the dialog the value "test SimResItemBased"

      Now when the Valgrind task runs it does:

      <executable name> "test SimResItemBased" instead of <executable name> test SimResItemBased

      So instead of having two arguments it has a single arguments with a space in the middle.

          [JENKINS-16123] Valgrind plugin does not work when providing multiple Executable Arguments for run.

          Would love to have this fixed. I'm trying to integrate valgrind (and this plugin) with a project that uses multiple command line parameters, and needs them to run. Unfortunately the bug is preventing me from doing so. Is there any reason why the arguments were quoted in the first place?

          Tony Schneider added a comment - Would love to have this fixed. I'm trying to integrate valgrind (and this plugin) with a project that uses multiple command line parameters, and needs them to run. Unfortunately the bug is preventing me from doing so. Is there any reason why the arguments were quoted in the first place?

          there is no special reason for quoting the argument string, its just a bug
          I already fixed it and i will release a new version soon!

          Johannes Ohlemacher added a comment - there is no special reason for quoting the argument string, its just a bug I already fixed it and i will release a new version soon!

          Wow! Excellent. Thanks much!

          Tony Schneider added a comment - Wow! Excellent. Thanks much!

          Code changed in jenkins
          User: Johannes Ohlemacher
          Path:
          src/main/java/org/jenkinsci/plugins/valgrind/ValgrindBuilder.java
          http://jenkins-ci.org/commit/valgrind-plugin/b5d17e71b27f0c55c741f25c2f504954f8744f37
          Log:
          fixed JENKINS-16123 (don't treat program argument string as a single big
          string)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Johannes Ohlemacher Path: src/main/java/org/jenkinsci/plugins/valgrind/ValgrindBuilder.java http://jenkins-ci.org/commit/valgrind-plugin/b5d17e71b27f0c55c741f25c2f504954f8744f37 Log: fixed JENKINS-16123 (don't treat program argument string as a single big string)

          Tomasz Ducin added a comment -

          When is the new version going to be released?

          Tomasz Ducin added a comment - When is the new version going to be released?

          sorry for the delay. The last few weeks were pretty tough and i had absolutely no time for the plugin.
          The next release will likely contain some major changes, but those changes still need some polishment.
          I'm going to do that now, so you can expect the new version to be released at end of next week.

          Johannes Ohlemacher added a comment - sorry for the delay. The last few weeks were pretty tough and i had absolutely no time for the plugin. The next release will likely contain some major changes, but those changes still need some polishment. I'm going to do that now, so you can expect the new version to be released at end of next week.

          Fixes with release 0.19

          Johannes Ohlemacher added a comment - Fixes with release 0.19

            existence Johannes Ohlemacher
            jdirks Jeroen Dirks
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: