我在詹金斯(Jenkins)中间歇性地收到此错误,我无法将其与特定环境联系在一起,因为它发生在许多盒子中。通常,重新运行该作业可以解决此问题。
这始终是确切的错误,并且debug / info不会提供任何有用的信息。
我一直在讨论这个问题,无法找出原因,有任何帮助/指针吗?
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':bsb-core-domain'.
> Could not resolve all dependencies for configuration ':bsb-core-domain:runtime'.
> Could not resolve org.codehaus.groovy:groovy-all:2.4.7.
Required by:
project :bsb-core-domain
> Could not resolve org.codehaus.groovy:groovy-all:2.4.7.
> Could not get resource 'http://artifactory.company.com/artifactory/bcp-repo/org/codehaus/groovy/groovy-all/2.4.7/groovy-all-2.4.7.pom'.
> Failed to move file '/tmp/gradle_download4570190075435770608bin' into filestore at '/opt/build.jenkins/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-all/2.4.7/ddaa0e3c02bcd1cdcae9807ec9817400dea47f5/groovy-all-2.4.7.pom'
> Could not resolve org.codehaus.groovy:groovy-all:2.4.7.
Required by:
project :bsb-core-domain > com.bsb.cart:bsb-cart-domain:1.5.6
> Could not resolve org.codehaus.groovy:groovy-all:2.4.7.
> Could not get resource 'http://artifactory.company.com/artifactory/bcp-repo/org/codehaus/groovy/groovy-all/2.4.7/groovy-all-2.4.7.pom'.
> Failed to move file '/tmp/gradle_download4570190075435770608bin' into filestore at '/opt/build.jenkins/.gradle/caches/modules-2/files-2.1/org.codehaus.groovy/groovy-all/2.4.7/ddaa0e3c02bcd1cdcae9807ec9817400dea47f5/groovy-all-2.4.7.pom'
* 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: 8.366 secs
感谢约翰