-
Bug
-
Resolution: Fixed
-
Minor
-
Win 7 x64, GIT 1.9.2, Jenkins ver.1.563, Git plugin 2.2.1, GIT client plugin 1.9.0
Everything works correctly, but the list of changes is not displayed correctly (01.png).
In the description of the repository is displayed correctly (02.png)
In IDE correctly too (03.png)
Previously used a very old version of GIT plugin (1.5.0) - was no such problem, but now have upgraded to the latest version.
Log:
Building in workspace C:\.jenkins\jobs\build_test\workspace > C:\Program Files (x86)\Git\bin\git.exe rev-parse --is-inside-work-tree Fetching changes from the remote Git repository > C:\Program Files (x86)\Git\bin\git.exe config remote.origin.url http://jenkins:jenkinsgit@localhost:8080/gitblit/git/Selenium.git Fetching upstream changes from http://jenkins@localhost:8080/gitblit/git/Selenium.git > C:\Program Files (x86)\Git\bin\git.exe --version using .gitcredentials to set credentials > C:\Program Files (x86)\Git\bin\git.exe config --local credential.helper store --file=\"C:\tomcat\temp\git2127178133677507983.credentials\" > C:\Program Files (x86)\Git\bin\git.exe fetch --tags --progress http://jenkins@localhost:8080/gitblit/git/Selenium.git +refs/heads/*:refs/remotes/origin/* > C:\Program Files (x86)\Git\bin\git.exe config --local --remove-section credential > C:\Program Files (x86)\Git\bin\git.exe rev-parse "origin/master^{commit}" Checking out Revision 7c81cb7e96e8359d2c1e45bffcef296c0e8a9051 (origin/master) > C:\Program Files (x86)\Git\bin\git.exe config core.sparsecheckout > C:\Program Files (x86)\Git\bin\git.exe checkout -f 7c81cb7e96e8359d2c1e45bffcef296c0e8a9051 > C:\Program Files (x86)\Git\bin\git.exe rev-list 7c81cb7e96e8359d2c1e45bffcef296c0e8a9051 > C:\Program Files (x86)\Git\bin\git.exe tag -a -f -m Jenkins Build #224 jenkins-build_test-224 Parsing POMs
- is related to
-
JENKINS-6203 Git plugin uses default encoding to read change log file
-
- Closed
-
As far as I can tell from the git commit man page, the contents of the git commit log are assumed to be UTF-8. That assumed character encoding is overridden if i18n.commitencoding is set.
The value of i18n.logoutputencoding is allowed to alter the encoding coming from the "git log", "git show" and "git blame" commands, allowing an override of the i18n.commitencoding value.
Unfortunately, I don't think there are currently any tests in the git-client-plugin or the git-plugin which test interesting combinations of those variables. It seems like a good area for a parameterized JUnit test.