gpt4 book ai didi

hudson - 来自Hudson的gradle项目构建错误及其在 Artifactory 中的部署

转载 作者:行者123 更新时间:2023-12-03 05:02:50 25 4
gpt4 key购买 nike

我刚刚添加了hudson-artifactory插件,并且所有内容都可以通过Maven出色地运行,但是当我尝试使用gradle构建项目时(我将gradle插件添加到hudson)

我收到此错误:

FAILURE: Build failed with an exception. * Where: Initialization script 'C:\Documents and Settings\qqqqqqqqqqqq.hudson\jobs\skiiiiiiiiiin\builds\2010-08-10_10-45-03\init-artifactory.gradle' line: 2 * What went wrong: A problem occurred evaluating initialization script. Cause: No signature of method: org.gradle.invocation.DefaultGradle.apply() is applicable for argument types: (init_artifactory_gradle_bb54a6ea5f854f8feae8c6181e5acbf4$_run_closure1_closure2) values: [init_artifactory_gradle_bb54a6ea5f854f8feae8c6181e5acbf4$_run_closure1_closure2@1d7b222] * Try: Run with -s or -d option to get more details. Run with -S option to get the full (very verbose) stacktrace. BUILD FAILED Total time: 1.942 secs Finished: FAILURE

最佳答案

该插件需要Gradle 0.9-preview-3 +
尝试使用最新版本。

关于hudson - 来自Hudson的gradle项目构建错误及其在 Artifactory 中的部署,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3447962/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com