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

Expand Global Environment Variables in p4 plugin configuration fields

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • p4-plugin
    • None
    • Windows 2008 R2

      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}/...

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

              Created:
              Updated:
              Resolved: