[JIRA] (JENKINS-57493) PreBuildMergeTest fails due to localized git

29 views
Skip to first unread message

ullrich.hafner@gmail.com (JIRA)

unread,
May 15, 2019, 4:36:03 PM5/15/19
to jenkinsc...@googlegroups.com
Ulli Hafner created an issue
 
Jenkins / Bug JENKINS-57493
PreBuildMergeTest fails due to localized git
Issue Type: Bug Bug
Assignee: Mark Waite
Components: git-plugin
Created: 2019-05-15 20:35
Priority: Trivial Trivial
Reporter: Ulli Hafner

I'm currently writing some integration tests with Git. I used your tests as example suite and noticed that one test fails on my machine:

https://github.com/jenkinsci/git-plugin/blob/master/src/test/java/hudson/plugins/git/extensions/impl/PreBuildMergeTest.java#L70

Latest git versions are localized and so the text that is being searched for is different in my German localized git.

You should remove the assertion in line 70 (or use something like alias git='env LANG=en_GB git' when using local git in your tests).

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

ullrich.hafner@gmail.com (JIRA)

unread,
May 15, 2019, 4:36:03 PM5/15/19
to jenkinsc...@googlegroups.com
Ulli Hafner updated an issue
Change By: Ulli Hafner
I'm currently writing some integration tests with Git. I used use your tests as example suite and noticed that one test fails on my machine:

https://github.com/jenkinsci/git-plugin/blob/master/src/test/java/hudson/plugins/git/extensions/impl/PreBuildMergeTest.java#L70

Latest git versions are localized and so the text that is being searched for is different in my German localized git.

You should remove the assertion in line 70 (or use something like {{alias git='env LANG=en_GB git'}} when using local git in your tests).

mark.earl.waite@gmail.com (JIRA)

unread,
May 15, 2019, 4:40:01 PM5/15/19
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
May 15, 2019, 5:05:02 PM5/15/19
to jenkinsc...@googlegroups.com
Mark Waite started work on Bug JENKINS-57493
 
Change By: Mark Waite
Status: Open In Progress

mark.earl.waite@gmail.com (JIRA)

unread,
May 19, 2019, 9:16:03 PM5/19/19
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
May 19, 2019, 9:16:03 PM5/19/19
to jenkinsc...@googlegroups.com
Change By: Mark Waite
Status: In Review Resolved
Resolution: Fixed

mark.earl.waite@gmail.com (JIRA)

unread,
May 19, 2019, 9:16:04 PM5/19/19
to jenkinsc...@googlegroups.com
Mark Waite closed an issue as Fixed
Change By: Mark Waite
Status: Resolved Closed
Reply all
Reply to author
Forward
0 new messages