Marcus Better created JENKINS-13510: ---------------------------------------
Summary: selects old git commit for build Key: JENKINS-13510 URL: https://issues.jenkins-ci.org/browse/JENKINS-13510 Project: Jenkins Issue Type: Bug Components: git Environment: Jenkins 1.460, git plugin 1.1.17 Reporter: Marcus Better Assignee: Nicolas De Loof 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira