Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
SonarQube 10.6.0
SonarScanner CLI 6.0.0.4432 - how is SonarQube deployed: zip, Docker, Helm
Docker - what are you trying to achieve
Having a scan without errors - what have you tried so far to achieve this
Nothing
Hi, with SonarQube 10.6.0, we get the following error message:
12:39:01.645 INFO Using JGit to retrieve untracked files
12:39:04.960 ERROR Cannot save config file 'FileBasedConfig[/home/scanner-cli/.config/jgit/config]'
java.io.IOException: Creating directories for /home/scanner-cli/.config/jgit failed
at org.eclipse.jgit.util.FileUtils.mkdirs(FileUtils.java:421)
at org.eclipse.jgit.internal.storage.file.LockFile.lock(LockFile.java:144)
at org.eclipse.jgit.storage.file.FileBasedConfig.save(FileBasedConfig.java:201)
at org.eclipse.jgit.util.FS$FileStoreAttributes.saveToConfig(FS.java:776)
at org.eclipse.jgit.util.FS$FileStoreAttributes.lambda$5(FS.java:458)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Due to some other problems there is no home dir inside the docker container for the scanner. Until now this never was a problem.
Can we safely ignore this message? If not - how can we configure a custom directory to save the config file for jgit?