-
Bug
-
Resolution: Fixed
-
Major
-
None
git describe depends on the last tag. When the plugin runs git tag, it damages the repo's idea of what the version is. git tag should be optional.
- is duplicated by
-
JENKINS-12316 git plugin should NOT tag every build by default
-
- Closed
-
-
JENKINS-6125 git - optional control to suppress tag creation during build?
-
- Closed
-
-
JENKINS-8680 Give an option to disable automatic tagging
-
- Closed
-
I'm submitting this patch for this issue which will add an option to Git SCM plugin to disable auto tagging.
This option appears as a checkbox (under 'Advanced'). It is disabled by default (i.e. keeps tagging enabled by default to match Hudson's existing behavior). All other changes involve centralizing the tagging code so that it can be enabled/disabled in one place.
Once enabled, subsequent builds will skip the 'git tag' operation.
Cheers!