-
Notifications
You must be signed in to change notification settings - Fork 657
Closed
Labels
Description
Even though there clearly is an error, the exit code is 0.
[19:42:13] [Clean]
INFO [12/19/19 19:42:13:01] Applicable build agent found: 'TeamCity'.
INFO [12/19/19 19:42:13:02] Working directory: /var/www/TeamCity/buildAgent/work/eff7cbc1aff2d3e
INFO [12/19/19 19:42:13:02] IsDynamicGitRepository: False
INFO [12/19/19 19:42:13:04] Returning Project Root from DotGitDirectory: /var/www/TeamCity/buildAgent/work/eff7cbc1aff2d3e/.git/ - /var/www/TeamCity/buildAgent/work/eff7cbc1aff2d3e/
INFO [12/19/19 19:42:13:05] Running on Unix.
INFO [12/19/19 19:42:13:05] Applicable build agent found: 'TeamCity'.INFO [12/19/19 19:42:13:05] Branch from build environment: master
INFO [12/19/19 19:42:13:05] Begin: Normalizing git directory for branch 'master'
INFO [12/19/19 19:42:13:10] One remote found (origin -> 'https://github.com/XX/YY').
INFO [12/19/19 19:42:13:10] Fetching from remote 'origin' using the following refspecs: +refs/heads/*:refs/remotes/origin/*.
INFO [12/19/19 19:42:13:17] End: Normalizing git directory for branch 'master' (Took: 122.44ms)
ERROR [12/19/19 19:42:13:20] An unexpected error occurred:
[19:42:13] [Clean] LibGit2Sharp.LibGit2SharpException: remote authentication required but no callback set
[19:42:13] [Clean] at LibGit2Sharp.Core.Ensure.HandleError(Int32 result)
[19:42:13] [Clean] at LibGit2Sharp.Core.Ensure.ZeroResult(Int32 result)
[19:42:13] [Clean] at LibGit2Sharp.Core.Proxy.git_remote_fetch(RemoteHandle remote, IEnumerable`1 refSpecs, GitFetchOptions fetchOptions, String logMessage)
[19:42:13] [Clean] at LibGit2Sharp.Commands.Fetch(Repository repository, String remote, IEnumerable`1 refspecs, FetchOptions options, String logMessage)
[19:42:13] [Clean] at GitVersion.Helpers.GitRepositoryHelper.Fetch(ILog log, AuthenticationInfo authentication, Remote remote, Repository repo) in D:\a\1\s\src\GitVersionCore\Helpers\GitRepositoryHelper.cs:line 145
[19:42:13] [Clean] at GitVersion.Helpers.GitRepositoryHelper.NormalizeGitDirectory(ILog log, IEnvironment environment, String gitDirectory, AuthenticationInfo authentication, Boolean noFetch, String currentBranch, Boolean isDynamicRepository) in D:\a\1\s\src\GitVersionCore\Helpers\GitRepositoryHelper.cs:line 40
[19:42:13] [Clean] at GitVersion.GitPreparer.Prepare(Boolean normalizeGitDirectory, String currentBranch, Boolean shouldCleanUpRemotes) in D:\a\1\s\src\GitVersionCore\GitPreparer.cs:line 51
[19:42:13] [Clean] at GitVersion.GitVersionCalculator.CalculateVersionVariables() in D:\a\1\s\src\GitVersionCore\GitVersionCalculator.cs:line 52
[19:42:13] [Clean] at GitVersion.ExecCommand.Execute() in D:\a\1\s\src\GitVersionExe\ExecCommand.cs:line 40
[19:42:13] [Clean] at GitVersion.GitVersionExecutor.VerifyArgumentsAndRun(Arguments arguments) in D:\a\1\s\src\GitVersionExe\GitVersionExecutor.cs:line 117 INFO [12/19/19 19:42:13:20] INFO [12/19/19 19:42:13:20] Attempting to show the current git graph (please include in issue): INFO [12/19/19 19:42:13:20] Showing max of 100 commits
dennisdoomen, matkoch, JoshClose and VLZZZ