• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      I created a new job and changed the workspace to a custom location by specifying
      a different location. In my case I set the path to:
      /tmp/hudsonBuilds/MyJob/${BUILD_ID}

      Expected Result:
      There will be a directory tree '/tmp/hudsonBuilds/MyJob/yyy-m-dd_hh-mm-ss'
      created to reflect the current $BUILD_ID.

      Current Result:
      There is a directory tree which looks like
      '/tmp/hudsonBuilds/MyJob/${BUILD_ID}'. The environment variable doesn't get
      expanded.

      The WORKSPACE environment variable instead has the correct path with expanded
      BUILD_ID variable.

          [JENKINS-3997] Parameter expansion in Custom Workspace

          irichter created issue -
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Link New: This issue is duplicated by JENKINS-4789 [ JENKINS-4789 ]
          mdonohue made changes -
          Link New: This issue is duplicated by JENKINS-5077 [ JENKINS-5077 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 134070 ] New: JNJira + In-Review [ 202585 ]

            Unassigned Unassigned
            irichter irichter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: