Код клонирования Git:
Код: Выделить всё
Git.cloneRepository()
.setURI(remoteURL)
.setDirectory(repoDir)
.setCredentialsProvider(credentialsProvider)
.call();
Код: Выделить всё
Caused by: java.io.IOException: Creating directories for /app/policyrepo/.git failed
2024-10-22T10:19:02.949264300Z at org.eclipse.jgit.util.FileUtils.mkdirs(FileUtils.java:421) ~[org.eclipse.jgit-6.10.0.202406032230-r.jar:6.10.0.202406032230-r]
2024-10-22T10:19:02.949265500Z at org.eclipse.jgit.internal.storage.file.FileRepository.create(FileRepository.java:231) ~[org.eclipse.jgit-6.10.0.202406032230-r.jar:6.10.0.202406032230-r]
2024-10-22T10:19:02.949266700Z at org.eclipse.jgit.api.InitCommand.call(InitCommand.java:103) ~[org.eclipse.jgit-6.10.0.202406032230-r.jar:6.10.0.202406032230-r]
2024-10-22T10:19:02.949267900Z ... 27 common frames omitted
2024-10-22T10:19:02.949269100Z
Код: Выделить всё
com.google.cloud.tools
jib-maven-plugin
${jib-maven-plugin.version}
true
${jib-maven-plugin.image}
${jib-maven-plugin.architecture}
linux
vauthz/vauthz-be
bash
-c
/entrypoint.sh
ALWAYS
USE_CURRENT_TIMESTAMP
1000
8080
src/main/docker/jib
/entrypoint.sh
755
Подробнее здесь: https://stackoverflow.com/questions/791 ... git-failed