You could iterate over the list of jobs and get the configuration traits
for them, and check if they have sonar cube, something like

Jenkins.getInstance().items.each { it ->

it.configuration?.steps // not sure what XML type the sonar cube step is,
if it has a step
}


On Sat, May 23, 2020 at 8:43 PM Vijay Gongle <vj.gon...@gmail.com> wrote:

> We have plenty of Jenkins job and most of them are running with SonarQube
> for analysis.
>
> How to find out; how many such jobs are running with SonarQube ?
>
> Thanks
> Vijay
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/d82c76df-ce71-45c3-8449-79a1b1f19bac%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9%2BG%3Df7AkSfE2v3xmQRUDcJvkThxNQ%2BL4nspcMsHrvhq5w%40mail.gmail.com.

Reply via email to