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

Possibility to get branch name instead of commit id

XMLWordPrintable

      Today I tried this plugin and I would love to see one addiiton.
      We have mutliple repositories to checkout in one job and therefor I can't use ${sourceBranch} as the commit id seems to be in there.
      Would it be possible to add ${sourceBranchName}/${targetBranchName} where the name of the branch is used instead of the commit id?

      Then I could use this for all repositories to checkout. We use alternative checkout method here. So if the branch X is not existing it falls back to master.

            Unassigned Unassigned
            kfritsche Karl Fritsche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: