-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
Jenkins ver. 2.78
I need to evaluate a branch in the quality gate, however when configuring the plugin it shows an illegal character error.
stack:
ERROR: Build step failed with exception
java.net.URISyntaxException: Illegal character in query at index XX:
http://192.168.0.154:9000/api/ce/component?componentKey=project:origin/homologation
at java.net.URI$Parser.fail(URI.java:2848)
at java.net.URI$Parser.checkChars(URI.java:3021)
at java.net.URI$Parser.parseHierarchical(URI.java:3111)
at java.net.URI$Parser.parse(URI.java:3053)
at java.net.URI.<init>(URI.java:588)
at java.net.URI.create(URI.java:850)
Caused: java.lang.IllegalArgumentException: Illegal character in query at index XX:
http://192.168.0.154:9000/api/ce/component?componentKey=project:origin/homologation
at java.net.URI.create(URI.java:852)
at org.apache.http.client.methods.HttpGet.<init>(HttpGet.java:66)
at org.quality.gates.sonar.api.SonarHttpRequester.getAPITaskInfo(SonarHttpRequester.java:138)
at org.quality.gates.sonar.api.QualityGatesProvider.getAPIResultsForQualityGates(QualityGatesProvider.java:63)
at org.quality.gates.jenkins.plugin.BuildDecision.getStatus(BuildDecision.java:22)
at org.quality.gates.jenkins.plugin.QGPublisher.perform(QGPublisher.java:84)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:736)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:682)
at hudson.model.Build$BuildExecution.post2(Build.java:186)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:627)
at hudson.model.Run.execute(Run.java:1749)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:419)