You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting an exception when the Gradle daemon starts on Azure DevOps CI. I have tested with and without the plugin and it only occurs when using gradle-git-properties. Unfortunately it also significantly decreases the speed of my build (must be hanging somewhere before failing). Is there any way this can be fixed?
Exception:
/agent/_work/29/s/gradlew check
Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details
Creating lock file $HOME/.config/jgit/config.lock failed
Cannot save config file 'FileBasedConfig[$HOME/.config/jgit/config]'
java.io.IOException: Creating directories for /agent/_work/29/.gradle/daemon/7.6/$HOME/.config/jgit failed
at gradlegitproperties.org.eclipse.jgit.util.FileUtils.mkdirs(FileUtils.java:412)
at gradlegitproperties.org.eclipse.jgit.internal.storage.file.LockFile.lock(LockFile.java:138)
at gradlegitproperties.org.eclipse.jgit.storage.file.FileBasedConfig.save(FileBasedConfig.java:219)
at gradlegitproperties.org.eclipse.jgit.util.FS$FileStoreAttributes.saveToConfig(FS.java:740)
at gradlegitproperties.org.eclipse.jgit.util.FS$FileStoreAttributes.lambda$4(FS.java:426)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Gradle config:
plugins {
id 'java-library'
id "com.gorylenko.gradle-git-properties" version "2.4.1"
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
gitProperties {
keys = ['git.branch','git.commit.id']
}
Thanks in advance!
The text was updated successfully, but these errors were encountered:
I am getting an exception when the Gradle daemon starts on Azure DevOps CI. I have tested with and without the plugin and it only occurs when using gradle-git-properties. Unfortunately it also significantly decreases the speed of my build (must be hanging somewhere before failing). Is there any way this can be fixed?
Exception:
Gradle config:
Thanks in advance!
The text was updated successfully, but these errors were encountered: