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

Tests with checkin rely on global Git config

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.5
    • 1.10.0
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: