Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
During build getting error (unable to clone from github)
-
Getting clone error while SHH certificate is created and mapped with my git account. Not sure how to make it working in buildmaster. Kindly help for the same.
Cloning 'https://github.com/knitvijay/Accounts.git' into 'C:\ProgramData\BuildMaster\Temp\Service\GitWorkspaces\Accounts.git'...
Clone options: Branch=master; RecurseSubmodules=False
Unhandled exception: System.AggregateException: One or more errors occurred. ---> Inedo.ExecutionEngine.Executer.ExecutionFailureException: Clone failed: unknown certificate check failure
at Inedo.Extensions.Clients.LibGitSharp.LibGitSharpClient.CloneAsync(GitCloneOptions options) in C:\ProgramData\BuildMaster\Temp\Service_E1618\Src\Git\Common\Clients\LibGitSharp\LibGitSharpClient.cs:line 51
at Inedo.Extensions.Clients.LibGitSharp.Remote.RemoteLibGitSharpJob.<ExecuteAsync>d__9.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service_E1618\Src\Git\Common\Clients\LibGitSharp\Remote\RemoteLibGitSharpJob.cs:line 49
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at Inedo.BuildMaster.Extensibility.Agents.Local.LocalAgent.<>c__DisplayClass4_0.<Inedo.Agents.IRemoteJobExecuter.ExecuteJobAsync>b__0() at System.Threading.Tasks.Task1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Clients.LibGitSharp.Remote.RemoteLibGitSharpClient.<ExecuteRemoteAsync>d__11.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service_E1618\Src\Git\Common\Clients\LibGitSharp\Remote\RemoteLibGitSharpClient.cs:line 92
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Inedo.Extensions.Operations.GetSourceOperation`1.<ExecuteAsync>d__20.MoveNext() in C:\ProgramData\BuildMaster\Temp\Service_E1618\Src\Git\Common\Operations\GetSourceOperation.cs:line 80
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
-
@knitvijay_7631 said in During build getting error (unable to clone from github):
Clone failed: unknown certificate check failure
I did a quick search on this message, and there's lots of advice on how to get this working. The problem is coming from Git, and BuildMaster is just reporting the problem. I think your best bet will just be to use HTTPS instead of SSH. It's a lot easier to configure...
BUt here's a post that seems to be quite popular that gives lots of tips and tricks on resolving this..