Started by GitHub push by MinnDevelopment
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/JDA5
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir /var/jenkins_home/workspace/JDA5/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/discord-jda/JDA.git # timeout=10
Fetching upstream changes from https://github.com/discord-jda/JDA.git
> git --version # timeout=10
> git --version # 'git version 2.30.2'
> git fetch --tags --force --progress -- https://github.com/discord-jda/JDA.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 0ce30fd4502179a5562886c0734d1f9398b5745b (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 0ce30fd4502179a5562886c0734d1f9398b5745b # timeout=10
Commit message: "Fix `CommandInteractionPayload#getCommandString` in autocomplete interactions (#2659)"
> git rev-list --no-walk 48a41110c5ff1f7ae62385fc03dfa024b9831fe2 # timeout=10
[Gradle] - Launching build.
[JDA5] $ /var/jenkins_home/workspace/JDA5/gradlew clean release
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :clean
> Task :sourcesForRelease
> Task :generateJavaSources
> Task :compileJava
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/api/sharding/ShardManager.java:551: warning: [deprecation] getUserByTag(String) in JDA has been deprecated
stream.map(jda -> jda.getUserByTag(tag))
^
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/api/sharding/ShardManager.java:584: warning: [deprecation] getUserByTag(String,String) in JDA has been deprecated
stream.map(jda -> jda.getUserByTag(username, discriminator))
^
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java:509: warning: [deprecation] UserUpdateDiscriminatorEvent in net.dv8tion.jda.api.events.user.update has been deprecated
new UserUpdateDiscriminatorEvent(
^
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/internal/entities/UserImpl.java:120: warning: [deprecation] getAsTag() in User has been deprecated
public String getAsTag()
^
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/internal/entities/UserImpl.java:76: warning: [deprecation] getDiscriminator() in User has been deprecated
public String getDiscriminator()
^
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/internal/audio/AudioWebSocket.java:515: warning: [deprecation] onUserSpeaking(User,EnumSet<SpeakingMode>) in ConnectionListener has been deprecated
listener.onUserSpeaking(user, speaking);
^
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/api/audio/hooks/ListenerProxy.java:75: warning: [deprecation] onUserSpeaking(User,EnumSet<SpeakingMode>) in ConnectionListener has been deprecated
public void onUserSpeaking(@Nonnull User user, @Nonnull EnumSet<SpeakingMode> modes)
^
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/api/audio/hooks/ListenerProxy.java:84: warning: [deprecation] onUserSpeaking(User,EnumSet<SpeakingMode>) in ConnectionListener has been deprecated
listener.onUserSpeaking(user, modes);
^
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/api/audio/hooks/ListenerProxy.java:85: warning: [deprecation] onUserSpeaking(User,boolean) in ConnectionListener has been deprecated
listener.onUserSpeaking(user, modes.contains(SpeakingMode.VOICE));
^
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/api/audio/hooks/ListenerProxy.java:86: warning: [deprecation] onUserSpeaking(User,boolean,boolean) in ConnectionListener has been deprecated
listener.onUserSpeaking(user, modes.contains(SpeakingMode.VOICE), modes.contains(SpeakingMode.SOUNDSHARE));
^
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/internal/managers/AccountManagerImpl.java:135: warning: [deprecation] NAME in AccountManager has been deprecated
if (shouldUpdate(NAME))
^
11 warnings
> Task :processResources NO-SOURCE
> Task :classes
> Task :jar
> Task :assemble
> Task :sourcesJar
> Task :javadoc
warning: URL https://docs.oracle.com/javase/8/docs/api/element-list was redirected to https://docs.oracle.com/en/java/javase/22/ -- Update the command-line options to suppress this warning.
1 warning
> Task :javadocJar
> Task :compileExamplesJava
> Task :compileTestJava
/var/jenkins_home/workspace/JDA5/src/test/java/net/dv8tion/jda/test/compliance/EventConsistencyComplianceTest.java:22: warning: [deprecation] SelfUpdateDiscriminatorEvent in net.dv8tion.jda.api.events.self has been deprecated
import net.dv8tion.jda.api.events.self.SelfUpdateDiscriminatorEvent;
^
/var/jenkins_home/workspace/JDA5/src/test/java/net/dv8tion/jda/test/compliance/EventConsistencyComplianceTest.java:50: warning: [deprecation] SelfUpdateDiscriminatorEvent in net.dv8tion.jda.api.events.self has been deprecated
SelfUpdateDiscriminatorEvent.class
^
2 warnings
> Task :shadowJar
> Task :minimalJar
> Task :noOpusJar
> Task :processTestResources
> Task :testClasses
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
> Task :test
> Task :check
> Task :build
> Task :generateMetadataFileForReleasePublication
> Task :generatePomFileForReleasePublication
> Task :initializeSonatypeStagingRepository SKIPPED
> Task :signReleasePublication
> Task :publishReleasePublicationToSonatypeRepository SKIPPED
> Task :closeRepository SKIPPED
> Task :releaseRepository SKIPPED
> Task :closeAndReleaseRepository UP-TO-DATE
> Task :release SKIPPED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD SUCCESSFUL in 1m 20s
17 actionable tasks: 17 executed
Build step 'Invoke Gradle script' changed build result to SUCCESS
Archiving artifacts
Publishing Javadoc
Finished: SUCCESS