Seems to happen in some declarative pipelines
IIRC Devin Nusbaum (once again I am sorry if I mix things up) actually fixed that somewhere (in a Jenkins plugin) already (a few weeks or mabe very few months ago), but presumably there was no release of the Jenkins plugin since then (or I unfortunately and surprisingly do not use the latest version of that plugin)?
Hint: This log is mentioned in a comment from June (see JENKINS-55038) as well...
|Field||Original Value||New Value|
|Component/s||pipeline-model-definition-plugin [ 21706 ]|
|Component/s||pipeline [ 21692 ]|
|Status||Open [ 1 ]||Fixed but Unreleased [ 10203 ]|
|Assignee||Devin Nusbaum [ dnusbaum ]|
|Resolution||Fixed [ 1 ]|