Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

BitBucket integration problem #3688

tardis4500 ·
I am using the Atlassian Bitbucket server. If I define it as a Git server and define a Git repository, it works fine. But if I change it to a Bitbucket repository, I get this when I try to run a checkout build step:

12:36:11,982 INFO - Executing pre-execute action...
12:36:11,982 INFO - Running step...
12:36:11,984 INFO - Checking step execute condition...
12:36:11,984 INFO - Step execute condition satisfied, executing...
12:36:11,995 INFO - Executing pre-execute action...
12:36:11,995 INFO - Running step...
12:36:11,996 INFO - Checking out revision '3f3ccb7b9f6c0ff97dbb7bf77b18d5777d7125f5' of repository 'Project source'...
12:36:12,019 INFO - Getting changes of 'Project source' since build '4'...
12:36:12,019 DEBUG - Executing command: git log -1 --date=raw --pretty=format:%cd 3f3ccb7b9f6c0ff97dbb7bf77b18d5777d7125f5
12:36:12,019 DEBUG - Command working directory: C:\quickbuild-6.1.36\workspace\Company\Builds\halpy\master
12:36:12,059 DEBUG - 1484063464 -0500
12:36:12,060 DEBUG - Executing command: git log -1 --date=raw --pretty=format:%cd 3f3ccb7b9f6c0ff97dbb7bf77b18d5777d7125f5
12:36:12,060 DEBUG - Command working directory: C:\quickbuild-6.1.36\workspace\Company\Builds\halpy\master
12:36:12,099 DEBUG - 1484063464 -0500
12:36:12,100 DEBUG - Executing command: git config --replace-all core.quotepath false
12:36:12,100 DEBUG - Command working directory: C:\quickbuild-6.1.36\workspace\Company\Builds\halpy\master
12:36:12,140 DEBUG - Executing command: git log --name-status --pretty=raw 3f3ccb7b9f6c0ff97dbb7bf77b18d5777d7125f5..3f3ccb7b9f6c0ff97dbb7bf77b18d5777d7125f5
12:36:12,140 DEBUG - Command working directory: C:\quickbuild-6.1.36\workspace\Company\Builds\halpy\master
12:36:12,240 INFO - Executing post-execute action...
12:36:12,240 ERROR - Step 'master>Get project source' is failed: Invalid fetch url: git@bitbucket.org:myname/myproject.git
12:36:12,395 INFO - Executing post-execute action...
12:36:12,395 ERROR - Step 'master' is failed: Composite step 'master' failed due to unsatisfied success condition.
  • replies 3
  • views 1322
  • stars 0
robinshen ADMIN ·
The repository checkout url for bitbucket server should contain a segment "/scm/", for instance:
http://localhost:7990/scm/project1/repo1.git
tardis4500 ·
When I'm on the Atlassian Bitbucker server page for my repo, it shows me two connection methods:

SSH: git@bitbucket.org:{MyUserName}/{MyRepoName}.git
HTTPS: https://{MyUserName}@bitbucket.org/{MyUserName}/{MyRepoName}.git

Which of these should I use or is there a different format for QuickBuild?
robinshen ADMIN ·
This integration is for BitBucket server (a product installed in your own server), not BitBucket hosted service.