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

Jenkins could NOT discover Repositories

Joel DeWitt August 26, 2021

I just started seeing this error this morning(Could not resolve team details) :

[Thu Aug 26 10:14:35 CDT 2021] Starting organization scan...
[Thu Aug 26 10:14:35 CDT 2021] Updating actions...
Looking up team details of MyTeam...
Connecting to https://bitbucket.org using xxxxxxxxx/****** (bitbucket cloud xxxxxxxx app-password credentials)
Could not resolve team details
[Thu Aug 26 10:14:35 CDT 2021] Consulting Bitbucket Team/Project
Connecting to https://bitbucket.org using xxxxxxx/****** (bitbucket cloud xxxxxxxx app-password credentials)
Looking up repositories of user MyTeam
0 repositories were processed

Previously it would resolve to the correct Team and then list the proposed repositories:

Looking up team details of MyTeam...
Connecting to https://bitbucket.org using xxxxxx/****** (bitbucket cloud svcbitbucket app-password credentials)
Team: MyTeam
[Wed Aug 25 14:09:00 CDT 2021] Consulting Bitbucket Team/Project
Connecting to https://bitbucket.org using xxxxxx /****** (bitbucket cloud svcbitbucket app-password credentials)
Looking up repositories of team MyTeam
.
.
.
.
. Proposing MyTeam/repo Connecting to https://bitbucket.org using xxxxxx/****** (bitbucket cloud xxxxxxapp-password credentials) Repository type: Git Looking up MyTeam/repo for branches Checking branch develop from MyTeam/repo ‘Jenkinsfile’ found Met criteria 1 branches were processed (query completed)

I found this post which outlines our problem:
https://community.atlassian.com/t5/Bitbucket-questions/Jenkins-could-NOT-discover-Repositories/qaq-p/1540027 

It appears we are set up correctly and have been for some time.  Could this maintenance have affected this:
https://bitbucket.status.atlassian.com/incidents/1l51l5byt9dk

Either way - any thoughts on a fix?

 

4 answers

1 accepted

1 vote
Misha Znak August 26, 2021

https://github.com/jenkinsci/bitbucket-branch-source-plugin/issues/473

guys here compiled PR which fix an issue. You can find a link inside

lgracey August 26, 2021

We are reviewing the link thank you! 

lgracey August 26, 2021

To anyone looking at this thread for this issue - we have reached out to Atlassian support and confirmed the plugin needs to be updated for the new API. 

 

Please refer to the URL Misha sent for Jenkins <-> bitbucket communication issues. 

 

Thank you again for the link Misha!! 

Misha Znak August 26, 2021

you are welcome

0 votes
lgracey August 26, 2021

We are also having the same issue, there was a webhooks maintenance today - wondering if it's related. 

https://bitbucket.status.atlassian.com/

0 votes
Misha Znak August 26, 2021

The same problem
Already tried update related plugins and also tried different combinations.

Changed account and tried another workspace. the same result

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events