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

Expand Global Environment Variables in p4 plugin configuration fields

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: perforce-plugin
    • Labels:
      None
    • Environment:
      Windows 2008 R2
    • Similar Issues:

      Description

      The Jenkins Global Properties are not expanded in the p4 plugin like the job parameters are. We are using global properties to enable rolling branches and this feature is needed to make that possible.

      Example:

      Using a global property, $

      {PROPERTY_X}, with value "HELLO" in the workspace name and client spec is not expanded and yields:

      Workspace Name:
      WORKSPACE_${PROPERTY_X}

      Client Spec:
      //depot/module/$

      {PROPERTY_X}/... //WORKSPACE_${PROPERTY_X}

      /...

        Attachments

          Activity

            People

            • Assignee:
              rpetti Rob Petti
              Reporter:
              mvuong Mario Vuong
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: