maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Brouillard (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SCM-886) Tests with checkin rely on global git config
Date Thu, 03 May 2018 11:30:00 GMT
Matthieu Brouillard created SCM-886:
---------------------------------------

             Summary: Tests with checkin rely on global git config
                 Key: SCM-886
                 URL: https://issues.apache.org/jira/browse/SCM-886
             Project: Maven SCM
          Issue Type: Bug
          Components: maven-scm-provider-gitexe
    Affects Versions: 1.9.5
            Reporter: Matthieu Brouillard


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