bitbucket-branch-source-plugin number of parallel scans limited to five

83 views
Skip to first unread message

Tristan FAURE

unread,
May 6, 2019, 8:22:34 AM5/6/19
to Jenkins Users
Hello
I'm using jenkins 2.150.2 and bitbucket branch source plugin 2.4.0

when scan of repositories is performed :

Building <name of the repository> » Scan Organization Folder

it is impossible to have more than 5 operations in parallel on the master, do you know if this limit is set somewhere or how it is computed ?

Thank you in advance

Regards



Rick

unread,
May 6, 2019, 8:25:29 AM5/6/19
to Mark Waite
I don't really understand your question. Can you be more specific?

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/97d56fe7-4a86-4f81-b547-6276b0974509%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Tristan FAURE

unread,
May 6, 2019, 8:39:42 AM5/6/19
to Jenkins Users
Sorry if it is not clear

when I create multi branch pipeline jobs for bitbuckets, scan of repositories (organization) is made frequently. For some repositories the number of projects, branches... can be important and the scan operation performed on the master can be long.

When these scan operations are performed in parallel I noticed that the master limit the number of scan to 5 and I don't know where this limit come from. It seems it is not linked to number of executors of the masters (1 in my case)


Le lundi 6 mai 2019 14:25:29 UTC+2, Rick a écrit :
I don't really understand your question. Can you be more specific?

On Mon, May 6, 2019 at 8:22 PM Tristan FAURE <faure....@gmail.com> wrote:
Hello
I'm using jenkins 2.150.2 and bitbucket branch source plugin 2.4.0

when scan of repositories is performed :

Building <name of the repository> » Scan Organization Folder

it is impossible to have more than 5 operations in parallel on the master, do you know if this limit is set somewhere or how it is computed ?

Thank you in advance

Regards



--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkins...@googlegroups.com.

Tristan FAURE

unread,
Jul 24, 2019, 4:45:11 AM7/24/19
to Jenkins Users
Hello, for information I found the solution in this class : https://github.com/jenkinsci/cloudbees-folder-plugin/blob/master/src/main/java/com/cloudbees/hudson/plugins/folder/computed/ThrottleComputationQueueTaskDispatcher.java

if the env var com.cloudbees.hudson.plugins.folder.computed.ThrottleComputationQueueTaskDispatcher.LIMIT is set, the number of parallel threads is the min (2 x nb processors, env var value)
if the env var is not set, the number of parallel thread is min(2 x nb processors, 5)
Reply all
Reply to author
Forward
0 new messages