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] [Commented] (WAGON-554) Tests with checkin rely on global Git config
Date Sun, 03 Feb 2019 14:53:00 GMT

    [ https://issues.apache.org/jira/browse/WAGON-554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16759435#comment-16759435
] 

Michael Osipov commented on WAGON-554:
--------------------------------------

We can borrow the code from Maven SCM.

> Tests with checkin rely on global Git config
> --------------------------------------------
>
>                 Key: WAGON-554
>                 URL: https://issues.apache.org/jira/browse/WAGON-554
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-scm
>    Affects Versions: 3.3.1
>            Reporter: Matthieu Brouillard
>            Assignee: Michael Osipov
>            Priority: Major
>
> Inside maven-wagon-scm project, the several tests in {{org.apache.maven.wagon.providers.scm.ScmGitExeWagonTest}}
expect a global user.name and user.email to be set.
> On installations where .gitconfig contains the following:
> {noformat}
> [user]
> useConfigOnly = true
> {noformat}
> 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