-
Bug
-
Resolution: Unresolved
-
Critical
-
None
We have installed Sonar-Quality-gates plugin(1.31) in Jenkins (2.222.4) and SonarQube version is 7.9.2
We have removed the trailing / from the Quality Gate configuration in Manage Jenkins -> Configure System.
Still we are getting below Error when we tried to configure Quality Gate as Post Build action in Jenkins job.
java.lang.NumberFormatException: For input string: "<!DOCTYPE html> <html> <head> <title>Error</title> <style> body { width: 35em; margin: 0 auto; font-family: Tahoma, Verdana, Arial, sans-serif; } </style> </head> <body> <h1>An error occurred" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at org.quality.gates.sonar.api.SonarHttpRequesterFactory.majorSonarVersion(SonarHttpRequesterFactory.java:55) at org.quality.gates.sonar.api.SonarHttpRequesterFactory.getSonarHttpRequester(SonarHttpRequesterFactory.java:34) at org.quality.gates.sonar.api.QualityGatesProvider.<init>(QualityGatesProvider.java:29)