-
Bug
-
Resolution: Done
-
Blocker
-
None
-
Jenkins 1.584
git-plugin 2.3.5
I experience the same problem as in JENKINS-21845 but the suggested workaround is not applicable (because my branch ref is very specific "origin/master").
The failed command looks like "git rev-parse /origin/master". Adding the remote name "origin" in the merge build configuration only ends up to running the command like "git rev-parse origin/origin/master".
It seems the code is joining the Remote and the Ref(Branch) with a "/", but that is incorrect when the ref is "origin/master" (this is recommended when trunk is ambiguous) — the command will become "git rev-parse /origin/master^
{commit}".
- is related to
-
JENKINS-21845 Command "git rev-parse /develop^{commit}" returned status code 128
-
- Closed
-
Can you provide step-by-step instructions to show the problem you are seeing, and what you're expecting to see instead?
I don't understand based on your description if you're describing the value of branch to build (if so, have you reviewed the help on the branch to build field where it provides many different examples of ways to specify the branch or branches to be built) or if you're describing the branch to merge, or something entirely different.
I can make guesses based on the phrases you've used, but we'll spend a lot of time guessing and working back and forth when it would be much better if you provide a series of numbered steps which show the problem when those steps are taken.
It would also help if there are closed issues which you believe are specifically not related that you reference them by name, as in
JENKINS-28911(if that were one of the bugs which you specifically believe is not related to this bug)I would also help when describing changed behavior if you can identify the plugin version where the change occurred, or the last plugin version where the behavior matched what you wanted.