• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • valgrind-plugin
    • None

      In order for us to be able to run valgrind on our servers we need to be able to set LD_LIBRARY_PATH. Is there a way you could add a facility to set this for the the plugin?

      Otherwise we get a crash when trying to run valgrind (we cant set this path globally because it will cause other issues).

          [JENKINS-28670] Cannot set environment variables

          Hi Stephen,

          have you tried the EnvInject plugin?

          https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin

          Does that solve your problem?

          Johannes Ohlemacher added a comment - Hi Stephen, have you tried the EnvInject plugin? https://wiki.jenkins-ci.org/display/JENKINS/EnvInject+Plugin Does that solve your problem?

          Edward Baker added a comment -

          Hi,

          I haven't had luck using EnvInject in a number of different configurations. I tried setting LD_LIBRARY_PATH under General / Prepare an environment for run, under Build Environment, or as a Build / Inject environment variables step.

          Component Version
          Jenkins 2.19.4
          Valgrind Plug-in 0.27
          Environment Injector Plugin 1.93.1

          Edward Baker added a comment - Hi, I haven't had luck using EnvInject in a number of different configurations. I tried setting LD_LIBRARY_PATH under General / Prepare an environment for run , under Build Environment , or as a Build / Inject environment variables step. Component Version Jenkins 2.19.4 Valgrind Plug-in 0.27 Environment Injector Plugin 1.93.1

            existence Johannes Ohlemacher
            sleary78 Stephen Leary
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: