-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
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.
[JENKINS-31972] Possibility to get branch name instead of commit id
Description |
Original:
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. |
New:
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. |
Workflow | Original: JNJira [ 167445 ] | New: JNJira + In-Review [ 182734 ] |