Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: git, git-parameter
Created: 19/Sep/12 4:20 PM
Description:

While setting up a new job, I C&P my Git branch name into the "Branch Specifier" under SCM. I didn't realize it, but there was a trailing space in the branch name. This caused the build to fail with:

Started by user ryan.shoemaker
Building in workspace /opt/jenkins/jobs/MyJob/workspace
Checkout:workspace / /opt/jenkins/jobs/MyJob/workspace - hudson.remoting.LocalChannel@6c616408
Using strategy: Default
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository origin
Fetching upstream changes from ssh://ryan.shoema...@mygitserver.com/git/MyModule
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.

When I removed the trailing space from the branch name, everything built fine.

Environment: Jenkins 1.471
git 1.1.19
git-parameter 0.2
Project: Jenkins
Labels: git build configuration
Priority: Minor Minor
Reporter: ryan shoemaker
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to