You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2018/09/08 20:03:00 UTC

[jira] [Created] (SCM-905) Tests with checkin rely on global Git config

Michael Osipov created SCM-905:
----------------------------------

             Summary: Tests with checkin rely on global Git config
                 Key: SCM-905
                 URL: https://issues.apache.org/jira/browse/SCM-905
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-scm-provider-gitexe
    Affects Versions: 1.9.5
            Reporter: Matthieu Brouillard
            Assignee: Michael Osipov
             Fix For: 1.10.0


Inside maven-scm-provider-gitexe project, the two following tests `GitCheckInCommandNoBranchTest.testCheckinNoBranch` and `GitCheckInCommandTest.testCheckinAfterRename` expect a global user.name and user.email to be set.

On installations where .gitconfig contains the following:

{{[user]}}
{{useConfigOnly = true}}

The tests will fail.

It would be better after repository creation to configure a user name & email at project level.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)