Skip internal tag Jenkins Git

While setting up a build on Jenkins using the Git plugin (not sure what the Github plugin does, since it doesn’t handle checkout from github) I ran into the following error message:

Building in workspace /var/lib/jenkins/jobs/qasite-dashboard-selenium-tests/workspace
Checkout:workspace / /var/lib/jenkins/jobs/qasite-dashboard-selenium-tests/workspace - hudson.remoting.LocalChannel@f0f2eb
Using strategy: Default
Checkout:workspace / /var/lib/jenkins/jobs/qasite-dashboard-selenium-tests/workspace - hudson.remoting.LocalChannel@f0f2eb
Fetching changes from 1 remote Git repository
Fetching upstream changes from
Commencing build of Revision 3b4da0edc2c97cb8837129471c45510a7610a63f (origin/development)
Checking out Revision 3b4da0edc2c97cb8837129471c45510a7610a63f (origin/development)
FATAL: Could not apply tag jenkins-qasite-dashboard-selenium-tests-16
hudson.plugins.git.GitException: Could not apply tag jenkins-qasite-dashboard-selenium-tests-16
    at hudson.plugins.git.GitAPI.tag(
    at hudson.plugins.git.GitSCM$4.invoke(
    at hudson.plugins.git.GitSCM$4.invoke(
    at hudson.FilePath.act(
    at hudson.FilePath.act(
    at hudson.plugins.git.GitSCM.checkout(
    at hudson.model.AbstractProject.checkout(
    at hudson.model.AbstractBuild$AbstractRunner.checkout(
    at hudson.model.AbstractBuild$
    at hudson.model.ResourceController.execute(
Caused by: hudson.plugins.git.GitException: Error performing command: git tag -a -f -m Jenkins Build #16 jenkins-qasite-dashboard-selenium-tests-16
Command "git tag -a -f -m Jenkins Build #16 jenkins-qasite-dashboard-selenium-tests-16" returned status code 128:
*** Please tell me who you are.


  git config --global ""
  git config --global "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident   not allowed

	at hudson.plugins.git.GitAPI.launchCommandIn(
	at hudson.plugins.git.GitAPI.launchCommand(
	at hudson.plugins.git.GitAPI.launchCommand(
	at hudson.plugins.git.GitAPI.tag(
	... 12 more
Caused by: hudson.plugins.git.GitException: Command "git tag -a -f -m Jenkins Build #16 jenkins-qasite-dashboard-16" returned status code 128: 

Even after adding the git config info I was getting the same message.   I found this post on StackOverflow enlightening:

Turns out that somewhere buried under the job configuration for the git step (not clearly labeled as a step on Jenkins) if you click a button labeled “Advanced” and search for the text “Skip internal tag” there is a checkbox that you need to check if you don’t want Jenkins to create a tag on your remote repository after every build (yeah, it wants to do that every time, even if the build fails — and it will fail the build if it can’t.)

I’m liking Bamboo more and more, even though it’s buggy, has a weird shell (busybox, maybe?), has not nearly as many plugins as Jenkins, and is a resource hog.

4 thoughts on “Skip internal tag Jenkins Git

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s