Re: Jenkins groovy init script for sonarqube configuration

2018-05-06 Thread Ajay Singh
Thanks Victor, The issue got resolved. The problem was with the no of parameters. It was expecting 7 parameters. On Sat, May 5, 2018 at 2:34 AM, Victor Martinez < victormartinezru...@gmail.com> wrote: > what version of the sonar plugin is installed? > > It looks like the current constructor is n

Re: Jenkins groovy init script for sonarqube configuration

2018-05-04 Thread Victor Martinez
what version of the sonar plugin is installed? It looks like the current constructor is not just 5 parameters based but a lot of more: - https://github.com/SonarSource/sonar-scanner-jenkins/blob/master/src/main/java/hudson/plugins/sonar/SonarInstallation.java#L59 Cheers -- You received this

Jenkins groovy init script for sonarqube configuration

2018-05-04 Thread ajaysingh29011986
I am trying to set sonarqube settings in Jenkins system property using groovy init script but I am getting below error. Can somebody help me to resolve this? Error+ groovy.lang.GroovyRuntimeException: Could not find matching constructor for: hudson.plugins.sonar.SonarInstallation(java.lang