Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-886

Tests with checkin rely on global Git config

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.5
    • Fix Version/s: 1.10.0
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                McFoggy Matthieu Brouillard
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: