我正在尝试运行Jenkin的工作(在AWS上托管)。
如果我尝试从ssh /命令行运行gradlew命令,它可以正常工作。
但是当我尝试使用我在命令行中使用的相同命令运行Jenkins作业时,它失败并出现以下错误:
请HelP;
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().