我正在运行命令“gradle sonarqube --stacktrace”,它开始导致以下结果:
Analysis report generated in /Users/shashank.devan/dev/myproject/build/sonar/batch-report
23:38:14.994 DEBUG - Couldn't delete lock file: /Users/shashank.devan/dev/myproject/./.sonar_lock java.nio.file.NoSuchFileException: /Users/shashank.devan/dev/myproject/./.sonar_lock
> Buildiat sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244)
at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
at java.nio.file.Files.delete(Files.java:1126)
at org.sonar.home.cache.DirectoryLock.unlock(DirectoryLock.java:98)
at org.sonar.batch.scan.ProjectLock.stop(ProjectLock.java:57)..
..
What went wrong:
Execution failed for task ':myproject:sonarqube'.
> Unable to execute Sonar
我错过了什么?该命令对其他目录运行良好。