title: ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job
body: <p>I am completely new to Jenkins (and Stackoverflow) and I am setting up a simple Jenkins job to poll a git repository.</p>
  
  <p>1)  I created a git repositoy on my local machine.
  2)  I created a Jenkins Freestyle job and on the configure screen entered the following parameters:</p>
  
  <p>Repository URL: media@127.0.0.1:/home/media/git_repo_remote
  Credentials: none</p>
  
  <p>The following error appears under the "Repository URL" text field:</p>
  
  <pre><code>Failed to connect to repository : Command "git ls-remote -h media@127.0.0.1:/home/media/git_repo_remote HEAD" returned status code 128:
  stdout: 
  stderr: Host key verification failed. 
  fatal: Could not read from remote repository.
  </code></pre>
  
  <p>Please make sure you have the correct access rights
  and the repository exists.</p>
  
  <p>I then changed the repository URL to "<a href="https:///127.0.0.1/home/media/git_repo_remote" rel="noreferrer">https:///127.0.0.1/home/media/git_repo_remote</a>" and receive the following in the log:</p>
  
  <pre><code>Started by an SCM change
  Building in workspace /var/lib/jenkins/workspace/First Job
   &gt; git rev-parse --is-inside-work-tree # timeout=10
  Fetching changes from the remote Git repository
   &gt; git config remote.origin.url https:///127.0.0.1/home/media/git_repo_remote # timeout=10
  Fetching upstream changes from https:///127.0.0.1/home/media/git_repo_remote
   &gt; git --version # timeout=10
   &gt; git fetch --tags --progress https:///127.0.0.1/home/media/git_repo_remote +refs/heads/*:refs/remotes/origin/*
   &gt; git rev-parse refs/remotes/origin/master^{commit} # timeout=10
   &gt; git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
   &gt; git rev-parse origin/master^{commit} # timeout=10
  ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
  Finished: FAILURE
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>Thanks</p>