Skip to content
Failed

Console Output

Started by user GermanCoding
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/HelloWorld
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/drlehr/Java_Gradle_Hello_World.git
 > git init /var/jenkins_home/workspace/HelloWorld # timeout=10
Fetching upstream changes from https://github.com/drlehr/Java_Gradle_Hello_World.git
 > git --version # timeout=10
 > git --version # 'git version 2.30.2'
 > git fetch --tags --force --progress -- https://github.com/drlehr/Java_Gradle_Hello_World.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/drlehr/Java_Gradle_Hello_World.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
Avoid second fetch
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision db030e9d7c07080fe3f3925dbb11457e55adf240 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f db030e9d7c07080fe3f3925dbb11457e55adf240 # timeout=10
Commit message: "Update HelloWorld.java"
 > git rev-list --no-walk db030e9d7c07080fe3f3925dbb11457e55adf240 # timeout=10
[Gradle] - Launching build.
[HelloWorld] $ /var/jenkins_home/tools/hudson.plugins.gradle.GradleInstallation/Gradle-7.3/bin/gradle dist
Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* Where:
Build file '/var/jenkins_home/workspace/HelloWorld/build.gradle' line: 27

* What went wrong:
A problem occurred evaluating root project 'HelloWorld'.
> Could not find method compile() for arguments [joda-time:joda-time:2.2] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 3s
Build step 'Invoke Gradle script' changed build result to FAILURE
Build step 'Invoke Gradle script' marked build as failure
Archiving artifacts
Finished: FAILURE