Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jenkins could NOT discover Repositories


My company recently moved the source control into Bitbucket.rog. The commercial plan.

How we use:

  • Our developer team still using the company email id(like to login to for operating, but a redirect to a company grant privilege's page is always needed.
  • all repos are grouped under a logical group(say myCompany), I don't how to say it, the `workspace`??  anyway, the summary page for list all available repos are:  
  • All repos are private and contained the file: Jenkinsfile


We have setup a standard Jenkins server(version 2.249.3) in a cloud,  with plugIn: bitbucket 1.1.27, I created a build job item: Bitbucket Team/Project, input the credential with type Username and password, of course the username is:, and this user has been granted 'admin', the Owner I input the myCompany.

WeChat Image_20201123125830.png



after ran this job, the overall connection seems fine, but never scanned any repos, the jenkins job logs:


[Mon Nov 23 13:05:31 CST 2020] Starting organization scan...
[Mon Nov 23 13:05:31 CST 2020] Updating actions...
Looking up team details of myCompany...
Connecting to using****** (fffff)
Could not resolve team details
[Mon Nov 23 13:05:33 CST 2020] Consulting Bitbucket Team/Project
Connecting to using****** (fffff)
Looking up repositories of user myCompany
0 repositories were processed
[Mon Nov 23 13:05:33 CST 2020] Finished organization scan. Scan took 2.1 sec
Finished: SUCCESS


any idea???

1 answer

1 accepted

0 votes
Answer accepted

Hi @Johnson Shao and welcome to the community!

Based on the info you gave us here, I believe you'll need to look into the following 3 things:

1. For HTTPS authentication, you will need to use the Bitbucket username of the account you are authenticating with, instead of the email. The email is needed for logging in to the website ( only.

If this is your Bitbucket Cloud account, you can find the username in the following page after you log in:

2. Since your company has managed accounts (the company domain has been verified), you will also need to use an app-password for authentication instead of a password.

You can find instructions on how to generate an app-password for the Bitbucket Cloud account you use for authentication here:

3. I see in your screenshot a field Owner, below the credentials. What is the description of this field? What are the instructions on what to fill in there?

I suggest double checking what is expected in this field, but I believe that you may need to fill in the workspace ID of the workspace that owns the repos your team is working on.

Have you replaced 'myCompany' with the actual workspace ID? Because the log you gave us here mentions 'myCompany'. The workspace ID should indeed be the part of the URL after , in the URL where the repos can be found

Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,776 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you