Integrating Rational Team Concert 5.0 with GIT,Will encounter errors, have met?
![]()
jia jun (11●1)
| asked May 19 '15, 4:21 a.m.
edited May 19 '15, 4:25 a.m. by Ralph Schoon (63.3k●3●36●46)
git.exe push --progress "origin" master:master
Counting objects: 22, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (16/16), done.
Writing objects: 100% (20/20), 1.72 KiB | 0 bytes/s, done.
Total 20 (delta 8), reused 0 (delta 0)
remote: oldRev=ca34c4e01d19c16fd25448c0ba05375ac40fe3cf newRev=62d56db5e047ce7f820768fa119aa84c7bba49f9 refName=refs/heads/master
remote: validatePush(jazzRepoUrl, gitRepoKey, userId, localSha1, remoteSha1, remoteRef, remote:
remote: File "C:\KIRAN\Work\Code_Root\Dev\git\com.ibm.team.git.hooks\hooks\rtcprocess.py", line 364, remote:
remote: File "C:\KIRAN\Work\Code_Root\Dev\git\com.ibm.team.git.hooks\hooks\rtcprocess.py", line 257, remote:
remote: File "C:\KIRAN\Work\Code_Root\Dev\git\com.ibm.team.git.hooks\hooks\hookslib.py", line 134, remote:
remote: File "C:\KIRAN\Work\Code_Root\Dev\git\com.ibm.team.git.hooks\hooks\hookslib.py", line 42, in remote:
remote: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc8 in position 1: invalid continuation remote:
To http://cp/rtrt.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'http://cp/rtrt.git'
|
2 answers
![]()
Ralph Schoon (63.3k●3●36●46)
| answered May 19 '15, 4:30 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The configuration of the integration is such that your push is rejected. Change the configuration settings.
|
![]()
Clearly, some of the text that is passed onto the hook is not parse-able. So, what are the probable candidates that are of text type? I am suspecting this could have caused by either the commit's comment or userId (commit comment being more likely).
What is the commit comment you have given? And, what is the user id? |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.