This is almost certainly a newbie question, so apologies in advance. I have a Jenkins maven job using Git scm that builds detached head. The branch specifier defaults to "**". When I put origin/master for the branch specifier I get
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. yet when I go into the jenkins job directory the output of git branch appears correct D:\jenkins\jobs\foo\workspace>git branch -a * master remotes/origin/HEAD -> origin/master remotes/origin/master Using Jenkins 1.460 and Git plugin 1.1.17