vsts - Add New External Git Repository Connection - Visual Studio Team Services -


i trying add external git repository visual studio team services build process receive error during build:

starting clone

request failed status code: 404

prepare repository failed exception.

on page specify repository can read

fill in add new external git repository connection dialog box.

but how? searching internet not find help. trying out different settings - nothing helped.

what have enter repository located @ example

https://username@bitbucket.org/repodir/repo.git

in build definition within repository tab enter

repository type: external git connection:

add new external git repository connection (setting connection)

server url: https://bitbucket.org

user name: myusername

password/token key: ********

repository name: repodir/repo.git ( tried repository name: repodir/repo )

what ever try - error message. using command line, can clone repository. how can enable team services clone external repository? think missing big here...

thanks lot help.

ok. managed clone external git repository in build process in visual studio team services/ visual studio online. important points are:

  • on repository tab 1 can leave repository name blank (will entered automatically after saving later)
  • there must commit on branch mentioned @ 'default branch'
  • in dialog 'add new external git repository connection' (or later 'update authentication repositoryname') server url whole url, like: 'https://...myrepo.git'

i tested private bitbucket repository.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -