# Tag repository changeset failing in 1.8.1.247

**URL:** https://www.finalbuilder.com/forums/t/tag-repository-changeset-failing-in-1-8-1-247/5558
**Category:** Discussion
**Created:** [April 27, 2017, 9:19am UTC](https://www.finalbuilder.com/forums/t/tag-repository-changeset-failing-in-1-8-1-247/5558 "2017-04-27T09:19:11Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![seankearon](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/seankearon/32/112_2.png) [@seankearon](https://www.finalbuilder.com/forums/u/seankearon)
#### Post date: [April 27, 2017, 9:19am UTC](https://www.finalbuilder.com/forums/t/tag-repository-changeset-failing-in-1-8-1-247/5558/1 "2017-04-27T09:19:11Z")

</div>

I’m trying to tag my Git repo after the build completes in CI &nbsp;1.8.1.247. I have a global user set up in Git, but am getting an error about not being able to identify the Git user.  
  
Any ideas?

| Executing event handlers for ‘On Build Completed’ build event  
 Executing handler ‘Tag repo’ for build event ‘On Build Completed’ |
| An error occurred while adding the tag ‘2017.2.1129’ to the changeset with revision ‘ba9a241c8b1c9ec3d122232dfc99a65c6cedd688’ in repository ‘XXX’. Message: Running ‘C:\Program Files (x86)\Git\bin\git.exe’ with arguments “tag -m “Inserted tag ‘2017.2.1129’ for changeset ba9a241c” 2017.2.1129 ba9a241c8b1c9ec3d122232dfc99a65c6cedd688” failed with return code 128 and error output: "  
 \*\*\* Please tell me who you are.  
 Run  
 git config --global user.email "you@example.com"  
 git config --global user.name “Your Name”  
 to set your account’s default identity.  
 Omit --global to set the identity only in this repository.  
 fatal: unable to auto-detect email address (got ‘SYSTEM@YYY.(none)’)  
 " |

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [April 27, 2017, 9:45am UTC](https://www.finalbuilder.com/forums/t/tag-repository-changeset-failing-in-1-8-1-247/5558/2 "2017-04-27T09:45:50Z")

</div>

Hi Sean,  
  
You need to set up Git for the user account that the Continua CI Server service is running under.   
  
Either log in as that user and run the commands :  
  
git config --global user.email "you@example.com"  
git config --global user.name “Your Name"  
  
Or edit&nbsp;C:\Users\ServiceUserName.gitconfig and add the lines:  
  
[user]  
 name = “Your Name”  
 email = "you@example.com”  
  
  
  
  
&nbsp;

---

<div class="post-metadata">

### Author: ![seankearon](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/seankearon/32/112_2.png) [@seankearon](https://www.finalbuilder.com/forums/u/seankearon)
#### Post date: [April 27, 2017, 3:41am UTC](https://www.finalbuilder.com/forums/t/tag-repository-changeset-failing-in-1-8-1-247/5558/3 "2017-04-27T03:41:00Z")

</div>

Hi Dave   
  
 I have a user set up in the global config for the account under which the build runs. I can see that account name under the Agent’s Env.USERNAME. Same error though.   
  
 Thanks   
  
 Sean

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [April 28, 2017, 12:29pm UTC](https://www.finalbuilder.com/forums/t/tag-repository-changeset-failing-in-1-8-1-247/5558/4 "2017-04-28T12:29:32Z")

</div>

Hi Sean,  
  
The build event handlers (and all repository commands) run on the server under the Continua CI Server service user account. Can you check the git config for that account?

---

<div class="post-metadata">

### Author: ![seankearon](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/seankearon/32/112_2.png) [@seankearon](https://www.finalbuilder.com/forums/u/seankearon)
#### Post date: [April 28, 2017, 11:38am UTC](https://www.finalbuilder.com/forums/t/tag-repository-changeset-failing-in-1-8-1-247/5558/5 "2017-04-28T11:38:12Z")

</div>

Yes, the ContinuaCI service was running under different credentails. Changed those and it’s now working properly. Many thanks for the assistance!
