maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SCM-918) Tests with checkin rely on global Git config
Date Sun, 03 Feb 2019 14:50:00 GMT
Michael Osipov created SCM-918:
----------------------------------

             Summary: Tests with checkin rely on global Git config
                 Key: SCM-918
                 URL: https://issues.apache.org/jira/browse/SCM-918
             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)

Mime
View raw message