I have configured my pipeline in the way that it uses scanForIssues step for each tool independently (e.g. java(), javaDoc(), taskScanner()).
At the end there is a pipeline stage which always posts the results (depending on the results of the previously Gradle task and if a scan has been done) like this:
publishIssues issues: [java, javaDoc, ...]
Here I can configure qualityGates which will affect all tools.
I could configure recordIssues or scanForIssues plus publishIssues for each tool scan, but then on the main status page of a Jenkins job, Jenkins shows multiple trend charts for each tool separately.
For the publishIssues step there is no option like this:
publishIssues trendChartType: 'AGGREGATION_ONLY'
This option would allow me using multipe publishIssues steps.
Only for recordIssues I can do that:
recordIssues aggregatingResults: true
But using recordIssues I cannot suppress showing all other trend charts of each tool scan.
In the end this is the only option I have found that the status page shows the aggregation trend chart only!
I also noticed this has a bad side effect when it comes to dashbords. Using this solution ends up in the fact that I can display only the aggregated values, not separated by tools.