Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am using the SonarQube Gradle plugin version 3.0 with Gradle 6.7.1 for analysis of my Java code. This works fine and the results are uploaded to Sonar. When I do gradlew clean test sonarqube initially I have no problem. But when I run it subsequently I get the following:

java.io.IOException: Unable to delete directory 'C:xxxuild'

Failed to delete some children. This might happen because a process has
files open or has its working directory set in the target directory.

- C:xxxuildsonarfindbugsfindsecbugs-plugin.jar
- C:xxxuildsonarfindbugs
- C:xxxuildsonar

This keep on failing until I kill the Gradle daemon after which I can successfully run sonarqube again. Is there a way to get around this?

question from:https://stackoverflow.com/questions/65557864/unable-to-delete-build-dir-after-running-sonar

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
788 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...