[
https://issues.apache.org/jira/browse/WAGON-554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov updated WAGON-554:
---------------------------------
Description:
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.
was:
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.
> 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)