Hi all,

I know this is a little off topic. I'm hoping that someone on the list
has had this specific problem. I'm using Jenkins with both the Git and
the Gradle plugin. Every now and then Jenkins gets into a state when
"git branch" reports "(no branch)". I.e.:

$ git branch -va
* (no branch)                     1333fb0 ..snip..
  master                          2da3ef6 [behind 26] ..snip..
  remotes/origin/HEAD             -> origin/master
  remotes/origin/master           1333fb0 ..snip..

Ideally I'd be able to force Jenkins to do something like:

git checkout $branch && git reset --hard HEAD

Has anyone seen this?

Cheers,
Merlyn

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to