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 n

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 thi

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