Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

hudson's git tags break the git describe output #1

Open
sam-github opened this issue Feb 16, 2010 · 2 comments
Open

hudson's git tags break the git describe output #1

sam-github opened this issue Feb 16, 2010 · 2 comments

Comments

@sam-github
Copy link

When I clone and checkout origin/master:
% git status

On branch master

nothing to commit (working directory clean)
~/s/libnet/libnet.git % git describe
libnet-1.1.4-108-g987fc90

When this happens in hudson:

build@build:/storage/sw/hudson/jobs/libnet/workspace$ git checkout origin/master
HEAD is now at 987fc90... Memory bounds checking using electric fence.
build@build:/storage/sw/hudson/jobs/libnet/workspace$ git status

Not currently on any branch.

nothing to commit (working directory clean)
build@build:/storage/sw/hudson/jobs/libnet/workspace$ git describe
hudson-libnet-5

I can see why some might like this auto-tagging, but it should be optional.

@sam-github
Copy link
Author

sorry the formatting is broken, there doesn't seem to be a way to disable markdown.

@ghost
Copy link

ghost commented Oct 3, 2012

Wish this would be fixed! Using underscore might solve it, ie "hudson_libnet_5"

abayer pushed a commit to abayer/git-plugin that referenced this issue Dec 10, 2015
added testcase for force push [JENKINS-24082]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant