-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
SonarQube Scanner 2.16
Jenkins 2.425 on Windows
SonarQube Developer Edition 10.1 (build 73491)
This works reproducibly in plugin version 2.15 and fails in 2.16.
The build fails, caused by the directive withSonarQubeEnv:
[Pipeline] withSonarQubeEnv Injecting SonarQube environment variables using the configuration: Local SonarQube [Pipeline] // withSonarQubeEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage
At the end of the console output, the following error is shown:
Also: org.jenkinsci.plugins.workflow.actions.ErrorAction$ErrorId: 6977bd3c-f923-48ad-b04b-df565cce9891 java.lang.IllegalArgumentException: Invalid version format: <!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="/apple-touch-icon.png"> <link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png"> <link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png"> <link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png"> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png"> <link rel="icon" type="image/x-icon" href="/favicon.ico"> <meta name="application-name" content="SonarQube" /> <meta name="msapplication-TileColor" content="#FFFFFF" /> <meta name="msapplication-TileImage" content="/mstile-512x512.png" /> <title>SonarQube</title> <link rel="stylesheet" href="/js/out4U7YNOEN.css" /> </head> <body> <div id="content" data-base-url="" data-server-status="UP" data-instance="SonarQube" data-official="true"> <div class="global-loading"> <i class="spinner global-loading-spinner"></i> <span aria-live="polite" class="global-loading-text">Loading...</span> </div> </div> <script type="module" src="/js/out76BEEV3R.js"></script> </body> </html> at hudson.plugins.sonar.utils.Version.<init>(Version.java:33) at hudson.plugins.sonar.utils.SonarUtils.getVersion(SonarUtils.java:248) at hudson.plugins.sonar.utils.SonarUtils.getTokenProperty(SonarUtils.java:236) at hudson.plugins.sonar.SonarBuildWrapper.createVars(SonarBuildWrapper.java:164) at hudson.plugins.sonar.SonarBuildWrapper.setUp(SonarBuildWrapper.java:128) at org.jenkinsci.plugins.workflow.steps.CoreWrapperStep$Execution2.doStart(CoreWrapperStep.java:121) at org.jenkinsci.plugins.workflow.steps.GeneralNonBlockingStepExecution.lambda$run$0(GeneralNonBlockingStepExecution.java:77) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Finished: FAILURE