-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
sonarqube scanner plugin V 2.8
org.jenkins-ci.main:jenkins-war:2.46.1
SCM = git
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
running Jenkins directly
Browser Google Chrome Version 57.15.2987.98
local host on windows 10 prosonarqube scanner plugin V 2.8 org.jenkins-ci.main:jenkins-war:2.46.1 SCM = git java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode) running Jenkins directly Browser Google Chrome Version 57.15.2987.98 local host on windows 10 pro
got error message during build step
Started by user
admin
Building on master in workspace C:\Program Files (x86)\Jenkins\workspace\SonarQube
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url D:\OneAppSourceFile # timeout=10
Fetching upstream changes from D:\OneAppSourceFile
> git --version # timeout=10
> git fetch --tags --progress D:\OneAppSourceFile +refs/heads/:refs/remotes/origin/
> git rev-parse "refs/remotes/origin/master^{commit}" # timeout=10
> git rev-parse "refs/remotes/origin/origin/master^{commit}" # timeout=10
Checking out Revision 9b712ff11622f7ad400f56d000defa59676e632c (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 9b712ff11622f7ad400f56d000defa59676e632c
> git rev-list 9b712ff11622f7ad400f56d000defa59676e632c # timeout=10
Unpacking
https://repo1.maven.org/maven2/org/sonarsource/scanner/cli/sonar-scanner-cli/2.8/sonar-scanner-cli-2.8.zip
to C:\Program Files (x86)\Jenkins\tools\hudson.plugins.sonar.SonarRunnerInstallation\SonarQube_Scanner on Jenkins
ERROR: Build step failed with exception
java.lang.IllegalArgumentException
: Negative time
at java.io.File.setLastModified(Unknown Source)
at hudson.FilePath.unzip(FilePath.java:605)
at hudson.FilePath.unzip(FilePath.java:570)
at hudson.FilePath.access$100(FilePath.java:195)
at hudson.FilePath$6.invoke(FilePath.java:558)
at hudson.FilePath$6.invoke(FilePath.java:556)
at hudson.FilePath.act(FilePath.java:996)
at hudson.FilePath.act(FilePath.java:974)
at hudson.FilePath.unzipFrom(FilePath.java:556)
at hudson.FilePath.installIfNecessaryFrom(FilePath.java:844)
at hudson.FilePath.installIfNecessaryFrom(FilePath.java:762)
at hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:76)
at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:72)
at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:109)
at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:206)
at hudson.plugins.sonar.SonarRunnerInstallation.forNode(SonarRunnerInstallation.java:104)
at hudson.plugins.sonar.SonarRunnerInstallation.forNode(SonarRunnerInstallation.java:62)
at hudson.plugins.sonar.utils.BuilderUtils.getBuildTool(BuilderUtils.java:70)
at hudson.plugins.sonar.SonarRunnerBuilder.perform(SonarRunnerBuilder.java:279)
at hudson.plugins.sonar.SonarRunnerBuilder.perform(SonarRunnerBuilder.java:261)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.Build$BuildExecution.build(Build.java:206)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
at hudson.model.Run.execute(Run.java:1728)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:405)
Build step 'Execute SonarQube Scanner' marked build as failure
[BFA] Scanning build for known causes...
[BFA] No failure causes found
[BFA] Done. 0s
Finished: FAILURE