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

Valgrind Plugin doesn't expand variables in the working/output directories for parameterized builds

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • valgrind-plugin
    • None

      I tried BOTH:
      When specifying the output/working, directory, I tried the following:

      /u/p4/clients/FOO.${ENV,var="change"}/FOO_utest
      and
      /u/p4/clients/FOO.$change/FOO_utest
      ...

      And I got the following error:
      [Valgrind] ERROR: /u/p4/clients/FOO.${ENV,var="change"}/FOO_utest does not exist.
      and
      [Valgrind] ERROR: /u/p4/clients/FOO.${change}/FOO_utest does not exist.

      NOTE: If I hard code a change number, it works.

          [JENKINS-14199] Valgrind Plugin doesn't expand variables in the working/output directories for parameterized builds

          Code changed in jenkins
          User: Johannes Ohlemacher
          Path:
          src/main/java/org/jenkinsci/plugins/valgrind/ValgrindBuilder.java
          src/main/java/org/jenkinsci/plugins/valgrind/ValgrindPublisher.java
          src/main/java/org/jenkinsci/plugins/valgrind/util/ValgrindEvaluator.java
          src/main/java/org/jenkinsci/plugins/valgrind/util/ValgrindUtil.java
          http://jenkins-ci.org/commit/valgrind-plugin/73fd5d6926e6ecf06c719e3e2b0fd35d4b6b2062
          Log:
          JENKINS-14199: expand strings from configuration with env vars

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Johannes Ohlemacher Path: src/main/java/org/jenkinsci/plugins/valgrind/ValgrindBuilder.java src/main/java/org/jenkinsci/plugins/valgrind/ValgrindPublisher.java src/main/java/org/jenkinsci/plugins/valgrind/util/ValgrindEvaluator.java src/main/java/org/jenkinsci/plugins/valgrind/util/ValgrindUtil.java http://jenkins-ci.org/commit/valgrind-plugin/73fd5d6926e6ecf06c719e3e2b0fd35d4b6b2062 Log: JENKINS-14199 : expand strings from configuration with env vars

          should be fixed with version 0.9
          use ${varname}

          Johannes Ohlemacher added a comment - should be fixed with version 0.9 use ${varname}

            existence Johannes Ohlemacher
            ezolt Phil Ezolt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: