按照https://github.com/jenkinsci/sonar-quality-gates-plugin中提供的设置,在使用项目密钥添加构建后步骤时,我遇到以下错误:
> java.lang.NumberFormatException:For input string: "<!DOCTYPE
> html><html lang="en"><head><meta http-equiv="content-type"
> content="text/html; charset=UTF-8" charset="UTF-8"/><meta
> http-equiv="X-UA-Compatible" content="IE=edge"><link
> rel="apple-touch-icon" href="/sonar/apple-touch-icon" at
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> at java.lang.Integer.parseInt(Integer.java:580) .... Caused:
> javax.servlet.ServletException at
> org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:765) at
> org.kohsuke.stapler.Stapler.invoke(Stapler.java:845) at
> org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:248) at
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
> ....
SonarQube 版本:6.7.2 Jenkins 版本:2.105 Sonar Quality Gate 插件版本:1.3.0
以前有没有人遇到过这个错误,或者对可能出了什么问题有任何想法?谢谢!