我以前做得很好,但现在它坏了。我怀疑 json-lib:2.4-jenkins-2 是问题所在
$:~/java$ gent --http --name=test kiy0taka/jenkins-plugin
$:~/java$ cd test
$:~/java/test$ ./gradlew server
最终命令的输出
:localizer
:stapler FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':stapler'.
> Could not resolve all dependencies for configuration ':compile'.
> Artifact 'org.kohsuke.stapler:json-lib:2.4-jenkins-2@jar' not found.
* 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: 9.302 secs
任何帮助表示赞赏