-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
Sonarqube Version 7.4 (build 18908)
Jenkins ver. 2.89.3
Plugin version 1.3.1
Analysis completes successfully but upon requesting the status of the quality gate at the end of the build a 401 response is received. Our user has full admin privileges for both the SonarQube project and the SonarQube instance.
This did not occur in the previous SonarQube version we were using (6.x)
12:44:36 org.quality.gates.jenkins.plugin.QGException: Expected status 200, got: 401. Response: 12:44:36 at org.quality.gates.sonar.api.SonarHttpRequester.executeGetRequest(SonarHttpRequester.java:124) 12:44:36 at org.quality.gates.sonar.api.SonarHttpRequester.getAPITaskInfo(SonarHttpRequester.java:151) 12:44:36 at org.quality.gates.sonar.api.QualityGatesProvider.getAPIResultsForQualityGates(QualityGatesProvider.java:62) 12:44:36 at org.quality.gates.jenkins.plugin.BuildDecision.getStatus(BuildDecision.java:24) 12:44:36 at org.quality.gates.jenkins.plugin.QGPublisher.perform(QGPublisher.java:85) 12:44:36 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 12:44:36 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) 12:44:36 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) 12:44:36 at hudson.model.Build$BuildExecution.post2(Build.java:186) 12:44:36 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) 12:44:36 at hudson.model.Run.execute(Run.java:1749) 12:44:36 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 12:44:36 at hudson.model.ResourceController.execute(ResourceController.java:97) 12:44:36 at hudson.model.Executor.run(Executor.java:421)