Thank you for responding.
Can you help me completing the query;

I would like to fetch the jobs which has the check mark "Prepare SonarQube
Scanner environment" in Build Environment as shown below:

[image: image.png]

Thanks,
Vijay


On Sat, May 23, 2020 at 11:09 PM Jan Monterrubio <janmonterru...@gmail.com>
wrote:

> 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
> <https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9%2BG%3Df7AkSfE2v3xmQRUDcJvkThxNQ%2BL4nspcMsHrvhq5w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAMrMyD%3Dx3_noyFk9%3D2LaboCoSUdiwwVhRopRw9d80yZ46bcJGQ%40mail.gmail.com.

Reply via email to