I’m trying to tag my Git repo after the build completes in CI 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)’) " |