Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This plugin is not able to query sonar server #57

Open
SanithVarma opened this issue Jul 26, 2018 · 1 comment
Open

This plugin is not able to query sonar server #57

SanithVarma opened this issue Jul 26, 2018 · 1 comment

Comments

@SanithVarma
Copy link

SanithVarma commented Jul 26, 2018

Querying sonar for analysis on {my project} taking lot of time.

Its failing

Failed to execute goal com.github.sgoertzen:sonar-break-maven-plugin:1.2.5:sonar-break (default-cli) on project client: Error while running sonar break: Timed out while waiting for Sonar. Waited 2000 seconds. This time can be extended using the "waitForProcessingSeconds" configuration parameter. -> [Help 1]

here is my pom.xml related to this plugin

 <dependency>
        <groupId>com.github.sgoertzen</groupId>
        <artifactId>sonar-break-maven-plugin</artifactId>
        <version>1.2.5</version>
    </dependency>
<plugin>
   			 <groupId>org.sonarsource.scanner.maven</groupId>
    <artifactId>sonar-maven-plugin</artifactId>
    <version>3.4.1.1168</version>
		</plugin>
        <plugin>
            <groupId>com.github.sgoertzen</groupId>
            <artifactId>sonar-break-maven-plugin</artifactId>
            <version>1.2.5</version>
            <configuration>
                <sonarServer>http://localhost:9000</sonarServer>
                 <sonarLookBackSeconds>480</sonarLookBackSeconds>
                 <waitForProcessingSeconds>2000</waitForProcessingSeconds>
            </configuration>
	    </plugin>

After debug I found this
Query url not available yet: http://localhost:9000/api/resources/index?resource=com.infoarmor:client&metrics=quality_gate_details

@iancesar
Copy link

iancesar commented Apr 3, 2020

Same problem here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants