-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: bitbucket-branch-source-plugin
-
None
-
Environment:Jenkins: 2.568.1
OS: Linux - 5.14.0-427.125.1.el9_4.x86_64
Java: 25.0.3 - Red Hat, Inc. (OpenJDK 64-Bit Server VM)
---
analysis-model-api:14.14.0-1004.vf53c9efb_f455
ant:520.vd082ecfb_16a_9
antisamy-markup-formatter:173.v680e3a_b_69ff3
apache-httpcomponents-client-4-api:4.5.14-269.vfa_2321039a_83
apache-httpcomponents-client-5-api:5.6.2-199.vc3c04d033fcc
asm-api:9.10.1-216.va_9256d3b_844b_
authentication-tokens:1.144.v5ff4a_5ec5c33
authorize-project:531.vf8761dfd75d2
basic-branch-build-strategies:317.v85b_331d6cc42
bitbucket-scm-filter-aged-refs:59.vc6b_39c26988c
bootstrap5-api:5.3.8-1048.va_c299057e35c
bouncycastle-api:2.30.1.84-291.v9f17b_21896e2
branch-api:2.1280.v0d4e5b_b_460ef
build-discarder:158.vce570d01ce4c
build-history-manager:1.16.0
build-timeout:1.40
caffeine-api:3.2.4-208.v7e2da_a_7db_82b_
checks-api:415.vf022234a_931d
cloudbees-bitbucket-branch-source:937.3.2
cloudbees-folder:6.1100.ve9eed61d16c4
command-launcher:134.v025a_5fcf9dea_
commons-collections4-api:4.5.0-8.va_d5448ef9011
commons-compress-api:1.28.0-82.v4df6c060eb_66
commons-lang3-api:3.20.0-109.ve43756e2d2b_4
commons-text-api:1.15.0-218.va_61573470393
conditional-buildstep:1.5.0
config-file-provider:1013.v73c323e52b_1f
configuration-as-code:2100.vb_fd699d2a_09c
coverage:3.3278.va_04d3e352354
credentials:1506.v948b_b_b_7dec44
credentials-binding:728.v902a_273b_8947
dark-theme:652.vea_da_dfea_e769
data-tables-api:2.3.8-1570.v1cb_1cd2a_0fb_c
dependency-track:7.1.0
display-url-api:2.217.va_6b_de84cc74b_
docker-commons:472.vee120e23d3a_c
docker-workflow:634.vedc7242b_eda_7
dtkit-api:3.0.3
durable-task:686.v80ff80875b_82
echarts-api:6.0.0-1287.vfd24c22a_3d00
eddsa-api:0.3.0.1-29.v67e9a_1c969b_b_
email-ext:2038.v7b_8817a_499d9
extended-read-permission:68.vd270568a_7520
external-monitor-job:223.vb_fddcf42c9b_3
favorite:2.267.vb_90d08408081
font-awesome-api:7.2.0-990.vf220b_2a_496f9
forensics-api:4.1891.v5e60f3377506
git:5.10.1
git-client:6.6.1
git-server:137.ve0060b_432302
github:1.47.0
github-api:1.330-492.v3941a_032db_2a_
github-branch-source:1967.1970.vd86979736546
github-scm-filter-aged-refs:59.vc6b_39c26988c
google-oauth-plugin:1.346.v712b_a_e0d1e60
gson-api:2.14.0-201.v8eefe5515533
handy-uri-templates-2-api:2.1.8-38.vcea_5d521d5f3
htmlpublisher:427.1
instance-identity:203.v15e81a_1b_7a_38
ionicons-api:94.vcc3065403257
jackson-annotations2-api:2.22-19.v10a_a_582ea_26e
jackson2-api:2.22.0-439.vb_b_43658d6176
jackson3-api:3.2.1-92.vd25c2e23c180
jacoco:3.3.7
jakarta-activation-api:2.1.4-1
jakarta-mail-api:2.1.5-1
jakarta-xml-bind-api:4.0.9-19.v2b_a_5b_44d9a_1c
javadoc:354.vee1a_660b_4990
javax-activation-api:1.2.0-8
javax-mail-api:1.6.2-11
jaxb:2.3.9-143.v5979df3304e6
jdk-tool:83.v417146707a_3d
jersey2-api:2.48-180.ve47b_264f849b_
jira:3.21
jjwt-api:0.13.0-141.vd58b_a_9592b_6c
jnr-posix-api:3.2.1-213.v7401d99f6220
job-dsl:3654.vdf58f53e2d15
joda-time-api:2.14.2-193.v422b_efce56e0
jquery3-api:3.7.1-687.v68d468e40b_30
jsch:0.2.16-95.v3eecb_55fa_b_78
json-api:20260522-217.v0b_18b_8cd4672
json-path-api:3.0.0-218.vcd4dd1355de2
jsoup:1.22.2-95.vc5d00f1eb_42d
junit:1415.vcb_3245e24402
kubernetes:4467.vf26561292824
kubernetes-client-api:7.3.1-256.v788a_0b_787114
kubernetes-credentials:207.v492f58828b_ed
kubernetes-credentials-provider:1.303.vdfcf47fb_b_fef
ldap:807.809.vd3a_4e5e4ec98
lockable-resources:1537.v68d014129e68
log-parser:3.0.3
mailer:534.v1b_36f5864073
mapdb-api:1.0.9-44.va_1e1310c9118
matrix-auth:3.3
matrix-project:870.v9db_fcfc2f45b_
maven-plugin:3.27
metrics:4.2.37-494.v06f9a_939d33a_
mina-sshd-api-common:2.17.1-187.v0341274c2905
mina-sshd-api-core:2.17.1-187.v0341274c2905
monitoring:2.8.0
next-build-number:66.v4b_4762172d53
oauth-credentials:0.660.vce7c108f1f3a_
okhttp-api:5.3.2-200.vedb_720a_cf1f8
openshift-login:1.1.0.263.v2e0ddecf8b_25
oss-symbols-api:465.v25d9fdc88c26
pam-auth:1.12
parameterized-trigger:893.va_383a_9b_a_4c11
pipeline-build-step:584.vdb_a_2cc3a_d07a_
pipeline-github-lib:65.v203688e7727e
pipeline-graph-analysis:254.v0f63a_a_447dca_
pipeline-graph-view:963.v2a_b_019810b_e1
pipeline-groovy-lib:798.v5cc688825312
pipeline-input-step:560.v56198a_642157
pipeline-milestone-step:152.v6e22b_8cfc66c
pipeline-model-api:2.2291.v2934911987b_6
pipeline-model-definition:2.2291.v2934911987b_6
pipeline-model-extensions:2.2291.v2934911987b_6
pipeline-rest-api:2.41
pipeline-stage-step:345.va_96187909426
pipeline-stage-tags-metadata:2.2291.v2934911987b_6
pipeline-stage-view:2.41
pipeline-utility-steps:3.810.va_7672d206740
plain-credentials:199.v9f8e1f741799
plugin-util-api:7.1341.v039f146993d9
prism-api:1.30.0-741.v034eb_0b_0a_a_fa_
pubsub-light:1.19
purge-build-queue-plugin:125.v09ee2147746f
resource-disposer:0.25
role-strategy:878.v6f1d3b_3a_0769
run-condition:276.v97298f3a_cd51
scm-api:728.vc30dcf7a_0df5
script-security:1402.1405.vc96e74964250
snakeyaml-api:2.5-149.v72471e9c6371
snakeyaml-engine-api:3.0.1-5.vd98ea_ff3b_92e
sonar:2.18.3
sse-gateway:1.29
ssh-credentials:372.va_250881b_08cd
sshd:3.384.vc89b_5e138cf9
structs:362.va_b_695ef4fdf9
theme-manager:346.v06cca_64c6a_37
throttle-concurrents:625.vc8b_e469e9a_b_c
timestamper:1.30
token-macro:477.vd4f0dc3cb_cf1
trilead-api:2.284.v1974ea_324382
variant:70.va_d9f17f859e0
warnings-ng:13.10153.v011f47a_3ef01
woodstox-core-api:7.2.1-6.v3718a_a_11f5c4
workflow-aggregator:608.v67378e9d3db_1
workflow-api:1413.v2ff1a_5e720fa_
workflow-basic-steps:1098.v808b_fd7f8cf4
workflow-cps:4350.vcc65d4958821
workflow-durable-task-step:1479.v56e587f413a_7
workflow-job:1590.v49101d088542
workflow-multibranch:821.vc3b_4ea_780798
workflow-scm-step:466.va_d69e602552b_
workflow-step-api:724.v538c2362b_dfb_
workflow-support:1015.v785e5a_b_b_8b_22
ws-cleanup:0.49
xunit:3.1.7
Jenkins runs from an UBI 10.2-based image built similar to https://github.com/jenkinsci/docker/tree/master/rhel
The container runs on OpenShift.
Jenkins: 2.568.1 OS: Linux - 5.14.0-427.125.1.el9_4.x86_64 Java: 25.0.3 - Red Hat, Inc. (OpenJDK 64-Bit Server VM) --- analysis-model-api:14.14.0-1004.vf53c9efb_f455 ant:520.vd082ecfb_16a_9 antisamy-markup-formatter:173.v680e3a_b_69ff3 apache-httpcomponents-client-4-api:4.5.14-269.vfa_2321039a_83 apache-httpcomponents-client-5-api:5.6.2-199.vc3c04d033fcc asm-api:9.10.1-216.va_9256d3b_844b_ authentication-tokens:1.144.v5ff4a_5ec5c33 authorize-project:531.vf8761dfd75d2 basic-branch-build-strategies:317.v85b_331d6cc42 bitbucket-scm-filter-aged-refs:59.vc6b_39c26988c bootstrap5-api:5.3.8-1048.va_c299057e35c bouncycastle-api:2.30.1.84-291.v9f17b_21896e2 branch-api:2.1280.v0d4e5b_b_460ef build-discarder:158.vce570d01ce4c build-history-manager:1.16.0 build-timeout:1.40 caffeine-api:3.2.4-208.v7e2da_a_7db_82b_ checks-api:415.vf022234a_931d cloudbees-bitbucket-branch-source:937.3.2 cloudbees-folder:6.1100.ve9eed61d16c4 command-launcher:134.v025a_5fcf9dea_ commons-collections4-api:4.5.0-8.va_d5448ef9011 commons-compress-api:1.28.0-82.v4df6c060eb_66 commons-lang3-api:3.20.0-109.ve43756e2d2b_4 commons-text-api:1.15.0-218.va_61573470393 conditional-buildstep:1.5.0 config-file-provider:1013.v73c323e52b_1f configuration-as-code:2100.vb_fd699d2a_09c coverage:3.3278.va_04d3e352354 credentials:1506.v948b_b_b_7dec44 credentials-binding:728.v902a_273b_8947 dark-theme:652.vea_da_dfea_e769 data-tables-api:2.3.8-1570.v1cb_1cd2a_0fb_c dependency-track:7.1.0 display-url-api:2.217.va_6b_de84cc74b_ docker-commons:472.vee120e23d3a_c docker-workflow:634.vedc7242b_eda_7 dtkit-api:3.0.3 durable-task:686.v80ff80875b_82 echarts-api:6.0.0-1287.vfd24c22a_3d00 eddsa-api:0.3.0.1-29.v67e9a_1c969b_b_ email-ext:2038.v7b_8817a_499d9 extended-read-permission:68.vd270568a_7520 external-monitor-job:223.vb_fddcf42c9b_3 favorite:2.267.vb_90d08408081 font-awesome-api:7.2.0-990.vf220b_2a_496f9 forensics-api:4.1891.v5e60f3377506 git:5.10.1 git-client:6.6.1 git-server:137.ve0060b_432302 github:1.47.0 github-api:1.330-492.v3941a_032db_2a_ github-branch-source:1967.1970.vd86979736546 github-scm-filter-aged-refs:59.vc6b_39c26988c google-oauth-plugin:1.346.v712b_a_e0d1e60 gson-api:2.14.0-201.v8eefe5515533 handy-uri-templates-2-api:2.1.8-38.vcea_5d521d5f3 htmlpublisher:427.1 instance-identity:203.v15e81a_1b_7a_38 ionicons-api:94.vcc3065403257 jackson-annotations2-api:2.22-19.v10a_a_582ea_26e jackson2-api:2.22.0-439.vb_b_43658d6176 jackson3-api:3.2.1-92.vd25c2e23c180 jacoco:3.3.7 jakarta-activation-api:2.1.4-1 jakarta-mail-api:2.1.5-1 jakarta-xml-bind-api:4.0.9-19.v2b_a_5b_44d9a_1c javadoc:354.vee1a_660b_4990 javax-activation-api:1.2.0-8 javax-mail-api:1.6.2-11 jaxb:2.3.9-143.v5979df3304e6 jdk-tool:83.v417146707a_3d jersey2-api:2.48-180.ve47b_264f849b_ jira:3.21 jjwt-api:0.13.0-141.vd58b_a_9592b_6c jnr-posix-api:3.2.1-213.v7401d99f6220 job-dsl:3654.vdf58f53e2d15 joda-time-api:2.14.2-193.v422b_efce56e0 jquery3-api:3.7.1-687.v68d468e40b_30 jsch:0.2.16-95.v3eecb_55fa_b_78 json-api:20260522-217.v0b_18b_8cd4672 json-path-api:3.0.0-218.vcd4dd1355de2 jsoup:1.22.2-95.vc5d00f1eb_42d junit:1415.vcb_3245e24402 kubernetes:4467.vf26561292824 kubernetes-client-api:7.3.1-256.v788a_0b_787114 kubernetes-credentials:207.v492f58828b_ed kubernetes-credentials-provider:1.303.vdfcf47fb_b_fef ldap:807.809.vd3a_4e5e4ec98 lockable-resources:1537.v68d014129e68 log-parser:3.0.3 mailer:534.v1b_36f5864073 mapdb-api:1.0.9-44.va_1e1310c9118 matrix-auth:3.3 matrix-project:870.v9db_fcfc2f45b_ maven-plugin:3.27 metrics:4.2.37-494.v06f9a_939d33a_ mina-sshd-api-common:2.17.1-187.v0341274c2905 mina-sshd-api-core:2.17.1-187.v0341274c2905 monitoring:2.8.0 next-build-number:66.v4b_4762172d53 oauth-credentials:0.660.vce7c108f1f3a_ okhttp-api:5.3.2-200.vedb_720a_cf1f8 openshift-login:1.1.0.263.v2e0ddecf8b_25 oss-symbols-api:465.v25d9fdc88c26 pam-auth:1.12 parameterized-trigger:893.va_383a_9b_a_4c11 pipeline-build-step:584.vdb_a_2cc3a_d07a_ pipeline-github-lib:65.v203688e7727e pipeline-graph-analysis:254.v0f63a_a_447dca_ pipeline-graph-view:963.v2a_b_019810b_e1 pipeline-groovy-lib:798.v5cc688825312 pipeline-input-step:560.v56198a_642157 pipeline-milestone-step:152.v6e22b_8cfc66c pipeline-model-api:2.2291.v2934911987b_6 pipeline-model-definition:2.2291.v2934911987b_6 pipeline-model-extensions:2.2291.v2934911987b_6 pipeline-rest-api:2.41 pipeline-stage-step:345.va_96187909426 pipeline-stage-tags-metadata:2.2291.v2934911987b_6 pipeline-stage-view:2.41 pipeline-utility-steps:3.810.va_7672d206740 plain-credentials:199.v9f8e1f741799 plugin-util-api:7.1341.v039f146993d9 prism-api:1.30.0-741.v034eb_0b_0a_a_fa_ pubsub-light:1.19 purge-build-queue-plugin:125.v09ee2147746f resource-disposer:0.25 role-strategy:878.v6f1d3b_3a_0769 run-condition:276.v97298f3a_cd51 scm-api:728.vc30dcf7a_0df5 script-security:1402.1405.vc96e74964250 snakeyaml-api:2.5-149.v72471e9c6371 snakeyaml-engine-api:3.0.1-5.vd98ea_ff3b_92e sonar:2.18.3 sse-gateway:1.29 ssh-credentials:372.va_250881b_08cd sshd:3.384.vc89b_5e138cf9 structs:362.va_b_695ef4fdf9 theme-manager:346.v06cca_64c6a_37 throttle-concurrents:625.vc8b_e469e9a_b_c timestamper:1.30 token-macro:477.vd4f0dc3cb_cf1 trilead-api:2.284.v1974ea_324382 variant:70.va_d9f17f859e0 warnings-ng:13.10153.v011f47a_3ef01 woodstox-core-api:7.2.1-6.v3718a_a_11f5c4 workflow-aggregator:608.v67378e9d3db_1 workflow-api:1413.v2ff1a_5e720fa_ workflow-basic-steps:1098.v808b_fd7f8cf4 workflow-cps:4350.vcc65d4958821 workflow-durable-task-step:1479.v56e587f413a_7 workflow-job:1590.v49101d088542 workflow-multibranch:821.vc3b_4ea_780798 workflow-scm-step:466.va_d69e602552b_ workflow-step-api:724.v538c2362b_dfb_ workflow-support:1015.v785e5a_b_b_8b_22 ws-cleanup:0.49 xunit:3.1.7 Jenkins runs from an UBI 10.2-based image built similar to https://github.com/jenkinsci/docker/tree/master/rhel The container runs on OpenShift.
We generate about 900 multibranch jobs via the job DSL (as the result of a Gradle build).
All jobs are regenerated, even if only a few are actually changed.
We would normally see a full rescan of all repository branches
and tags when regenerating job DSLs first time after a Jenkins
version update. We use LTS releases, so this was fairly
infrequent.
But when updating Jenkins to LTS 2.568.1, we also got
bitbucket-branch-source-plugin version 937.3.6. And after this,
every job DSL regeneration causes a full scan of all
repositories.
I assumed it would be this plugin, but reverting just this plugin to version
937.3.1 did not fix the observed behavior.
Reverting the entire installation (to Jenkins LTS 2.555.2 and older plugins, among them bitbucket-branch-source-plugin version 937.3.1) did fortunately fix the problem.
So I spent a long time trying to find a cause which was not this plugin.
Eventually, I found that I could upgrade Jenkins and all other
plugins, if I had first regenerated DSL jobs on the old release.
Something in the 937.3.2 changes has an unfortunate side-effect on multibranch scan caching behavior.
If anyone can figure out a reason and a fix from the above description, I will be happy to help test it.
For now we are pinning bitbucket-branch-source-plugin to version 937.3.1.
Thanks,
Jesper Skov
- is blocked by
-
JENKINS-76516 API is still a big issue
-
- Open
-
- is duplicated by
-
JENKINS-76511 Jenkins 2.568.1 + Bitbucket Multibranch jobs causes repeated multibranch rescans on every Job DSL seed run
-
- Closed
-
- relates to
-
JENKINS-76511 Jenkins 2.568.1 + Bitbucket Multibranch jobs causes repeated multibranch rescans on every Job DSL seed run
-
- Closed
-