Re: How to get a list of jobs that are integrated with SonarQube

2020-05-23 Thread Jan Monterrubio
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  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.


How to get a list of jobs that are integrated with SonarQube

2020-05-23 Thread Vijay Gongle
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.


Publish Over SSH plugin for Jenkins, file only on remote server with no folders

2020-05-23 Thread Arya F
I'm using the Publish Over SSH plugin for Jenkins.

I'm trying to transfer the jar file to a remote server after it is built. 
The transfer is working, however when I check remote server, it transfers 
the jar file and the folders eg. target/app.jar How can I tell it to only 
put the jar file and not the directories?

[image: 8fz1Q.png]

-- 
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/2ca12253-9406-4562-a4d4-362ab425b5f1%40googlegroups.com.