All the jobs has similar configurations for SonarQube as posted in the
above config.xml
It throws the below error:

groovy.lang.MissingMethodException: No signature of method:
hudson.maven.MavenModule.getBuildWrappersList() is applicable for
argument types: () values: []
        at 
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:58)
        at 
org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:49)
        at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
        at 
hudson.model.BuildableItemWithBuildWrappers$getBuildWrappersList.call(Unknown
Source)
        at Script1$_run_closure1.doCall(Script1.groovy:10)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
        at 
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
        at groovy.lang.Closure.call(Closure.java:414)
        at groovy.lang.Closure.call(Closure.java:430)
        at 
org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2040)
        at 
org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2025)
        at 
org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2066)
        at org.codehaus.groovy.runtime.dgm$162.invoke(Unknown Source)
        at 
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)
        at 
org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
        at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
        at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
        at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
        at Script1.run(Script1.groovy:6)
        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:585)
        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:623)
        at groovy.lang.GroovyShell.evaluate(GroovyShell.java:594)
        at 
hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:142)
        at 
hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:114)
        at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
        at 
hudson.util.RemotingDiagnostics.executeGroovy(RemotingDiagnostics.java:111)
        at jenkins.model.Jenkins._doScript(Jenkins.java:4381)
        at jenkins.model.Jenkins.doScript(Jenkins.java:4352)
        at 
java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
        at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
        at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)
        at 
org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117)
        at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129)
        at 
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
        at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:734)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:864)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:668)
        at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865)
        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1655)
        at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
        at 
org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:225)
        at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
        at 
io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
        at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
        at 
io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61)
        at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
        at 
com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:47)
        at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
        at 
hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:92)
        at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
        at 
hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter$1.call(ScmSyncConfigurationFilter.java:49)
        at 
hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter$1.call(ScmSyncConfigurationFilter.java:44)
        at 
hudson.plugins.scm_sync_configuration.ScmSyncConfigurationDataProvider.provideRequestDuring(ScmSyncConfigurationDataProvider.java:106)
        at 
hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter.doFilter(ScmSyncConfigurationFilter.java:44)
        at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
        at javax.servlet.FilterChain$doFilter$3.call(Unknown Source)
        at 
com.ceilfors.jenkins.plugins.jiratrigger.ExceptionLoggingFilter.doFilter(ExceptionLoggingFilter.groovy:29)
        at 
hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
        at 
hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)
        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
        at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:99)
        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
        at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
        at 
hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
        at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at 
jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
        at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at 
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
        at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at 
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
        at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at 
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
        at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at 
jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
        at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at 
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
        at 
hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
        at 
hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
        at 
hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)
        at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
        at 
org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
        at 
hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
        at 
org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
        at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
        at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
        at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
        at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
        at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
        at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
        at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
        at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
        at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
        at org.eclipse.jetty.server.Server.handle(Server.java:531)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352)
        at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
        at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281)
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
        at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
        at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
        at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
        at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
        at 
org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
        at 
org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
        at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762)
        at 
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680)
        at java.lang.Thread.run(Thread.java:748)


Thanks


On Tue, May 26, 2020 at 1:05 PM Jan Monterrubio <janmonterru...@gmail.com>
wrote:

> Looks like the script died after some job, can you print it’s name and
> check it’s config? Maybe we need to add a null check before we try to call
> getBuildWrapperList or the config type is doffeeent!
>
> On Tue, May 26, 2020 at 11:51 Vijay Gongle <vj.gon...@gmail.com> wrote:
>
>> Thank you Drik/Jan.
>> I ran the above script and I get the below result with two of the job
>> names which has SonarQube configurations. But I'm sure there are even more.
>>
>> Result
>>
>> ***** has SonarQube configuration.
>> ***** has SonarQube configuration.
>>
>> groovy.lang.MissingMethodException: No signature of method: 
>> hudson.maven.MavenModule.getBuildWrappersList() is applicable for argument 
>> types: () values: []
>>      at 
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:58)
>>      at 
>> org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:49)
>>      at 
>> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
>>      at 
>> hudson.model.BuildableItemWithBuildWrappers$getBuildWrappersList.call(Unknown
>>  Source)
>>      at Script1$_run_closure1.doCall(Script1.groovy:10)
>>      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>      at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>>      at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>      at java.lang.reflect.Method.invoke(Method.java:498)
>>      at 
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
>>      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
>>      at 
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
>>      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1022)
>>      at groovy.lang.Closure.call(Closure.java:414)
>>      at groovy.lang.Closure.call(Closure.java:430)
>>      at 
>> org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2040)
>>      at 
>> org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2025)
>>      at 
>> org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2066)
>>      at org.codehaus.groovy.runtime.dgm$162.invoke(Unknown Source)
>>      at 
>> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)
>>      at 
>> org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
>>      at 
>> org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
>>      at 
>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
>>      at 
>> org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
>>      at Script1.run(Script1.groovy:6)
>>      at groovy.lang.GroovyShell.evaluate(GroovyShell.java:585)
>>      at groovy.lang.GroovyShell.evaluate(GroovyShell.java:623)
>>      at groovy.lang.GroovyShell.evaluate(GroovyShell.java:594)
>>      at 
>> hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:142)
>>      at 
>> hudson.util.RemotingDiagnostics$Script.call(RemotingDiagnostics.java:114)
>>      at hudson.remoting.LocalChannel.call(LocalChannel.java:45)
>>      at 
>> hudson.util.RemotingDiagnostics.executeGroovy(RemotingDiagnostics.java:111)
>>      at jenkins.model.Jenkins._doScript(Jenkins.java:4381)
>>      at jenkins.model.Jenkins.doScript(Jenkins.java:4352)
>>      at 
>> java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
>>      at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:343)
>>      at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:184)
>>      at 
>> org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117)
>>      at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129)
>>      at 
>> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
>>      at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:734)
>>      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:864)
>>      at org.kohsuke.stapler.Stapler.invoke(Stapler.java:668)
>>      at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
>>      at 
>> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865)
>>      at 
>> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1655)
>>      at 
>> hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:154)
>>      at 
>> org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:225)
>>      at 
>> hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
>>      at 
>> io.jenkins.blueocean.ResourceCacheControl.doFilter(ResourceCacheControl.java:134)
>>      at 
>> hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
>>      at 
>> io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:61)
>>      at 
>> hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
>>      at 
>> com.smartcodeltd.jenkinsci.plugin.assetbundler.filters.LessCSS.doFilter(LessCSS.java:47)
>>      at 
>> hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
>>      at 
>> hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:92)
>>      at 
>> hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
>>      at 
>> hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter$1.call(ScmSyncConfigurationFilter.java:49)
>>      at 
>> hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter$1.call(ScmSyncConfigurationFilter.java:44)
>>      at 
>> hudson.plugins.scm_sync_configuration.ScmSyncConfigurationDataProvider.provideRequestDuring(ScmSyncConfigurationDataProvider.java:106)
>>      at 
>> hudson.plugins.scm_sync_configuration.extensions.ScmSyncConfigurationFilter.doFilter(ScmSyncConfigurationFilter.java:44)
>>      at 
>> hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
>>      at javax.servlet.FilterChain$doFilter$3.call(Unknown Source)
>>      at 
>> com.ceilfors.jenkins.plugins.jiratrigger.ExceptionLoggingFilter.doFilter(ExceptionLoggingFilter.groovy:29)
>>      at 
>> hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:151)
>>      at 
>> hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:157)
>>      at 
>> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
>>      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:99)
>>      at 
>> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
>>      at 
>> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
>>      at 
>> hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
>>      at 
>> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
>>      at 
>> jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
>>      at 
>> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
>>      at 
>> org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
>>      at 
>> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
>>      at 
>> org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
>>      at 
>> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
>>      at 
>> org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
>>      at 
>> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
>>      at 
>> jenkins.security.BasicHeaderProcessor.doFilter(BasicHeaderProcessor.java:93)
>>      at 
>> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
>>      at 
>> org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
>>      at 
>> hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:67)
>>      at 
>> hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
>>      at 
>> hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:90)
>>      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:171)
>>      at 
>> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
>>      at 
>> org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:49)
>>      at 
>> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
>>      at 
>> hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:82)
>>      at 
>> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
>>      at 
>> org.kohsuke.stapler.DiagnosticThreadNameFilter.doFilter(DiagnosticThreadNameFilter.java:30)
>>      at 
>> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1642)
>>      at 
>> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:533)
>>      at 
>> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
>>      at 
>> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
>>      at 
>> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>>      at 
>> org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
>>      at 
>> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
>>      at 
>> org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
>>      at 
>> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317)
>>      at 
>> org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
>>      at 
>> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
>>      at 
>> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
>>      at 
>> org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
>>      at 
>> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219)
>>      at 
>> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
>>      at 
>> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>>      at org.eclipse.jetty.server.Server.handle(Server.java:531)
>>      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352)
>>      at 
>> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
>>      at 
>> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281)
>>      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102)
>>      at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
>>      at 
>> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
>>      at 
>> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
>>      at 
>> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
>>      at 
>> org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
>>      at 
>> org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
>>      at 
>> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762)
>>      at 
>> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680)
>>      at java.lang.Thread.run(Thread.java:748)
>>
>>
>> On Tue, May 26, 2020 at 9:58 AM Jan Monterrubio <janmonterru...@gmail.com>
>> wrote:
>>
>>> Thanks a lot Dirk, I was trying to write this on notepad without the
>>> scriptconsole (we also don't use sonar and i didn't have an instance
>>> available on my personal machine)
>>>
>>> On Tue, May 26, 2020 at 6:31 AM 'Dirk Heinrichs' via Jenkins Users <
>>> jenkinsci-users@googlegroups.com> wrote:
>>>
>>>> Am Samstag, den 23.05.2020, 18:43 -0700 schrieb 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 ?
>>>>
>>>>
>>>> This is derived from a script I've used in the past to modify all
>>>> Artifactory wrappers in all our jobs:
>>>>
>>>> import hudson.model.*
>>>> import hudson.plugins.sonar.*
>>>> import jenkins.model.*
>>>>
>>>> // Iterate over all jobs
>>>> Jenkins.instance.getAllItems(AbstractProject.class).each {job ->
>>>>   def fName = job.getFullName()
>>>>
>>>>   // Iterate over all build wrappers
>>>>   for (wrapper in job.getBuildWrappersList()) {
>>>>   if (wrapper instanceof SonarBuildWrapper) {
>>>>   println(fName + ' has SonarQube configuration.')
>>>>   }
>>>>   }
>>>> }
>>>> println('Done.')
>>>>
>>>>
>>>> Paste it into the Script Console and see how it works. We don't use
>>>> SonarCube ourselves, so it may work or not, but it should point you into
>>>> the right direction.
>>>>
>>>> HTH...
>>>>
>>>> Dirk
>>>>
>>>> --
>>>>
>>>> *Dirk Heinrichs*
>>>> Senior Systems Engineer, Delivery Pipeline
>>>> OpenText ™ Discovery | Recommind
>>>> *Phone*: +49 2226 15966 18
>>>> *Email*: dhein...@opentext.com
>>>> *Website*: www.recommind.de
>>>> Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
>>>> <https://www.google.com/maps/search/Von-Liebig-Stra%C3%9Fe+1,+53359+Rheinbach?entry=gmail&source=g>
>>>> Vertretungsberechtigte Geschäftsführer Gordon Davies, Madhu
>>>> Ranganathan, Christian Waida, Registergericht Amtsgericht Bonn,
>>>> Registernummer HRB 10646
>>>> This e-mail may contain confidential and/or privileged information. If
>>>> you are not the intended recipient (or have received this e-mail in error)
>>>> please notify the sender immediately and destroy this e-mail. Any
>>>> unauthorized copying, disclosure or distribution of the material in this
>>>> e-mail is strictly forbidden
>>>> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
>>>> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
>>>> irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
>>>> vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
>>>> Weitergabe dieser Mail sind nicht gestattet.
>>>>
>>>> --
>>>> 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/53911cd297f0aa4bcedeac64a755e8a6aaeddcd4.camel%40opentext.com
>>>> <https://groups.google.com/d/msgid/jenkinsci-users/53911cd297f0aa4bcedeac64a755e8a6aaeddcd4.camel%40opentext.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/CADgiF9JujcuDk%2BU1kni9TCYUwgNSDVteAJnQNQ3eeNcfNiAp2Q%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9JujcuDk%2BU1kni9TCYUwgNSDVteAJnQNQ3eeNcfNiAp2Q%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/CAMrMyDkDJnN0F5KxdUQXgFV8GcVOYUUoTsw1rxVX%2BRmN1fab7Q%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/CAMrMyDkDJnN0F5KxdUQXgFV8GcVOYUUoTsw1rxVX%2BRmN1fab7Q%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/CADgiF9LgJM6sT11sHe_efXtVjVho1-XELdSRJtvqRY2d5ekeVg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CADgiF9LgJM6sT11sHe_efXtVjVho1-XELdSRJtvqRY2d5ekeVg%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/CAMrMyDmo7uKc_v70B_7TkCo9UxSYA9xX15nhCjswzBtiv-R8OQ%40mail.gmail.com.

Reply via email to