I have a git repository in BitBucket (bitbucket.org) and an on-premise TFS 2015 instance. I want to have a build in the TFS that clones the repository from BitBucket and then builds the code.
In the build job I'm using the "External Git" repository option. I've setup an end point to connect to the BitBucket git repo using the HTTPS URL. I've tried using the username and password in the specified fields and embedding them into the URL.
When I run the build job it fails with the message below.
Starting clone
[error]user cancelled certificate check:
[error]Prepare repository failed with exception.