[ https://issues.jenkins-ci.org/browse/JENKINS-13007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161794#comment-161794 ]
Milutin Jovanovic commented on JENKINS-13007: --------------------------------------------- A workaroung that works for me is to spacify two branches to build, first master and then the one I actually want to build. Interestingly, only one branch is built this way, the second one. > Git plugin cannot find revision to build on Windows > --------------------------------------------------- > > Key: JENKINS-13007 > URL: https://issues.jenkins-ci.org/browse/JENKINS-13007 > Project: Jenkins > Issue Type: Bug > Components: git > Environment: Windows 2008 Server 64 Bit > NTFS > Reporter: ritzmann > Assignee: Nicolas De Loof > Priority: Critical > > After we upgraded the Git plugin from 1.1.14 to 1.1.16, all our builds on > Windows build slaves started failing like this: > Started by user anonymous > Building remotely on win-slave1 in workspace d:\hudson\workspace\my-app > Checkout:my-app / d:\hudson\workspace\my-app - > hudson.remoting.Channel@95ff886:win-slave1 > Using strategy: Default > Last Built Revision: Revision e00e2c1328a011ca99980e0ffd90f33337534b34 > (origin/master) > Checkout:my-app / d:\hudson\workspace\my-app - > hudson.remoting.LocalChannel@470a4b80 > Fetching changes from 1 remote Git repository > Fetching upstream changes from d:\hudson\shared\repo.git > ERROR: Couldn't find any revision to build. Verify the repository and branch > configuration for this job. > The builds on our Linux slaves are not affected. Wiping the workspaces on the > Windows slaves did not help. Both clones and checkouts/updates seem to fail > with the same error. Downgrading back to 1.1.14 made the Windows builds work > again. -- 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