A build has been marked "Not Built" due to being superceded. Why?

Jenkins setup:
Jenkins: 2.426.2
OS: XXX
Java: 11


branch-api:2.1144.v1425d1c3d5a_7

cloudbees-bitbucket-branch-source:866.vdea_7dcd3008e

concurrent-step:2.0.0 (simplified WFS-fork)
conditional-buildstep:1.4.3

data-tables-api:1.13.8-2

git:5.2.1
git-branch-selector:1.0.0
git-client:4.6.0
git-server:99.va_0826a_b_cdfa_d

groovy:457.v99900cb_85593
gson-api:2.10.1-15.v0d99f670e0a_7

http_request:1.18

jersey2-api:2.41-133.va_03323b_a_1396

jjwt-api:0.11.5-77.v646c772fddb_0

joda-time-api:2.12.6-21.vca_fd74418fb_7
jquery:1.12.4-1
jquery3-api:3.7.1-1
jsch:0.2.16-86.v42e010d9484b_
json-path-api:2.9.0-33.v2527142f2e1d

locale:431.v3435fa_8f8445

okhttp-api:4.11.0-157.v6852a_a_fa_ec11

pipeline-build-step:540.vb_e8849e1a_b_d8
pipeline-config-history:1.6
pipeline-github-lib:42.v0739460cda_c4
pipeline-graph-analysis:202.va_d268e64deb_3
pipeline-groovy-lib:704.vc58b_8890a_384
pipeline-input-step:477.v339683a_8d55e
pipeline-maven:1368.vfb_8509d7b_869
pipeline-maven-api:1368.vfb_8509d7b_869
pipeline-milestone-step:111.v449306f708b_7
pipeline-model-api:2.2175.v76a_fff0a_2618
pipeline-model-definition:2.2175.v76a_fff0a_2618
pipeline-model-extensions:2.2175.v76a_fff0a_2618
pipeline-rest-api:2.34
pipeline-stage-step:305.ve96d0205c1c6
pipeline-stage-tags-metadata:2.2175.v76a_fff0a_2618
pipeline-stage-view:2.34
pipeline-utility-steps:2.16.1

plugin-util-api:3.8.0
popper-api:1.16.1-3
popper2-api:2.11.6-4
prism-api:1.29.0-10

scm-api:683.vb_16722fb_b_80b_

snakeyaml-api:2.2-111.vc6598e30cc65

ssh:2.6.1
ssh-agent:346.vda_a_c4f2c8e50
ssh-credentials:308.ve4497b_ccd8f4
ssh-slaves:2.948.vb_8050d697fec
ssh-steps:2.0.68.va_d21a_12a_6476
sshd:3.322.v159e91f6a_550

support-core:1371.v709cef748b_d0

trilead-api:2.133.vfb_8a_7b_9c5dd1

workflow-aggregator:596.v8c21c963d92d
workflow-api:1283.v99c10937efcb_
workflow-basic-steps:1042.ve7b_140c4a_e0c
workflow-cps:3837.v305192405b_c0
workflow-durable-task-step:1313.vcb_970b_d2a_fb_3
workflow-job:1385.vb_58b_86ea_fff1
workflow-multibranch:773.vc4fe1378f1d5
workflow-scm-step:415.v434365564324
workflow-step-api:657.v03b_e8115821b_
workflow-support:865.v43e78cc44e0d
ws-cleanup:0.45

Hey! Today a user detected builds with status “Not built” and we recognized that the builds were aborted by some internal logic stemming from a message in the console output that said “Superceded by …”, see

18:16:01  PASS lib/modules/XXX/lib/utils/__tests__/XXX.js (367 MB heap size)
Superseded by #4
18:16:01  Sending interrupt signal to process
18:16:01  Killing processes
18:16:01  PASS lib/modules/XXX/lib/duckies/__tests__/XXX.js (87 MB heap size)
18:16:01  Terminated
18:16:01  kill finished with exit code 0

We ran a Jenkins update 2 weeks ago and this seems to be a new behaviour in pipeline jobs. I could not find any relevant release note about this. Do you have a hint how this can be controlled, maybe? I would guess it is some configuration for the pipeline job behaviours, whereas a build is getting aborted when the multibranch scanning detects a change and triggers a fresh build.

options { disableConcurrentBuilds(abortPrevious: true) } in the pipeline could cause it, if you have that.

Thank you @kon , that’s exactly the case. (and since the naming is pretty obvious, I could have found it on my own :roll_eyes:)