-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
Jenkins 1.460, git plugin 1.1.17
In a repository with multiple branches, Jenkins frequently builds a commit other than the head of the selected branch. For example, it builds HEAD^ from the master branch.
I am selecting the branch to build based on a parameter $BRANCH, which defaults to **, and the problem occurs with this value. If I set BRANCH to "origin/master" explicitly, then I get the latest commit as expected.
[JENKINS-13510] selects old git commit for build
Workflow | Original: JNJira [ 143976 ] | New: JNJira + In-Review [ 176049 ] |
Assignee | Original: Nicolas De Loof [ ndeloof ] |
Resolution | New: Won't Fix [ 2 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |