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

Can't use ${ENV_VAR} in branch specifier

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      I would like to specify branch name as e.g "origin/release-${JOB_REVISION}"

      ($JOB_REVISION is set by the "Job Revision" plugin)

      $ENV vars work elsewhere in the project configuration, e.g when publishing git tags

        Attachments

          Activity

          Hide
          lothar Lothar Werzinger added a comment -

          I have a similar problem, where I would like to use a parameter from the Release Plugin and the git plugin does not pick it up.

          Show
          lothar Lothar Werzinger added a comment - I have a similar problem, where I would like to use a parameter from the Release Plugin and the git plugin does not pick it up.
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          Seems to be fixed in newer plugin versions

          Show
          oleg_nenashev Oleg Nenashev added a comment - Seems to be fixed in newer plugin versions

            People

            • Assignee:
              abayer Andrew Bayer
              Reporter:
              gfxmonk Tim Cuthbertson
            • Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: