我正在尝试为 java / gradle (vertx) 构建创建一个 concourse CI 管道。
使用 gradle docker 映像从大厅运行构建或在本地运行(直接使用相同的 docker 映像)时,我遇到了类似的错误
PS D:\Development\github\vertx-concourse-gradle> docker run --rm -v .:/project -w /project gradle:3.4-jdk8 gradle build
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
* What went wrong:
Failed to create parent directory '/project/.gradle' when creating directory '/project/.gradle/buildOutputCleanup'
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 2.924 secs
似乎是许可问题或我的来源在 Windows 10 上的事实。
这是我正在构建和运行构建的 repo