3.5.15 adds messages to help understand the problem:
In case of InterruptedException, a message in the logs with the duration since the beginning of the processing is outputted, we want to verify if we have reached the standard timeout of the pipeline steps:
[withMaven] Processing of Maven build outputs interrupted in " + mavenPublisher.toString() + " after " +
TimeUnit.MILLISECONDS.convert(System.nanoTime() - nanosBefore, TimeUnit.NANOSECONDS) + "ms.
When INFO level is enabled on org.jenkinsci.plugins.pipeline.maven.MavenSpyLogProcessor, a summary of the duration of each publisher is added to the build logs. Sample:
[withMaven] Publishers: Generated Artifacts Publisher: 36 ms, Junit Publisher: 9 ms, Dependencies Fingerprint Publisher: 6 ms, Pipeline Graph Publisher: 1 ms, Open Task Scanner Publisher: 25 ms