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

REOPEN -Can't use parameters in git plugin "Branches to build" configuration

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      I would like to be able to use parameters in the "Branches to build"
      configuration setting.

      Something like origin/myproject-${version}-branch should check replace the
      ${version} string with the correct value given in the build parameters.

        Attachments

          Activity

          Hide
          abayer Andrew Bayer added a comment -

          This works - what version of the plugin are you running?

          Show
          abayer Andrew Bayer added a comment - This works - what version of the plugin are you running?
          Hide
          lektuvas Gedas A added a comment -

          I tried using this feature but it only works when you enable "This build is parametrized" on a hudson job, but not with Global Properties that are specified in Manage Hudson -> Configure System -> Global Properties.

          Show
          lektuvas Gedas A added a comment - I tried using this feature but it only works when you enable "This build is parametrized" on a hudson job, but not with Global Properties that are specified in Manage Hudson -> Configure System -> Global Properties.
          Hide
          lektuvas Gedas A added a comment -

          please my comment about global properties

          Show
          lektuvas Gedas A added a comment - please my comment about global properties
          Hide
          lothar Lothar Werzinger added a comment -

          It unfortunately also fails when trying to use a parameter from the Release Plugin.

          Show
          lothar Lothar Werzinger added a comment - It unfortunately also fails when trying to use a parameter from the Release Plugin.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nicolas De Loof
          Path:
          src/main/java/hudson/plugins/git/GitSCM.java
          http://jenkins-ci.org/commit/git-plugin/2283620895c888f5f02f06fcac2fb33f1def0691
          Log:
          [FIXED JENKINS-8563] add support for env expansion
          on branch specification

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De Loof Path: src/main/java/hudson/plugins/git/GitSCM.java http://jenkins-ci.org/commit/git-plugin/2283620895c888f5f02f06fcac2fb33f1def0691 Log: [FIXED JENKINS-8563] add support for env expansion on branch specification

            People

            • Assignee:
              abayer Andrew Bayer
              Reporter:
              dirkmeister dirkmeister
            • Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: