我正在尝试运行 Jenkins 的工作(托管在 AWS 上)。
如果我尝试从 ssh / 命令行运行 gradlew 命令,它工作得很好。
但是当我尝试使用我在命令行中使用的相同命令运行 Jenkins 作业时,它会失败并出现以下错误:
请帮忙;
FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type FileCollectionSnapshotterRegistry using TaskExecutionServices.createFileCollectionSnapshotterRegistry().
> Could not create service of type CachingFileHasher using TaskExecutionServices.createFileSnapshotter().