Hi All,
I have downloaded quality gate plugin and configured in Jenkins configuration. I have added quality gates in post-build action. I am getting the following error. Can any one help me this.
Status => FAILED
Status => FAILED
Status => FAILED
ERROR: Build step failed with exception
org.quality.gates.sonar.api.MaxExecutionTimeException: Status => Max time to wait sonar job!
at org.quality.gates.sonar.api.QualityGatesProvider.getAPIResultsForQualityGates(QualityGatesProvider.java:82)
at org.quality.gates.jenkins.plugin.BuildDecision.getStatus(BuildDecision.java:24)
at org.quality.gates.jenkins.plugin.QGPublisher.perform(QGPublisher.java:85)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
at hudson.model.Run.execute(Run.java:1881)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:428)
Build step ‘Quality Gates Sonarqube Plugin’ marked build as failure
Finished: FAILURE
Thanks,
Venkat