Started by user Florian Spieß 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 526ed45b0ebe3aad70cef7d99637cac7cb8efed3 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 526ed45b0ebe3aad70cef7d99637cac7cb8efed3 # timeout=10 Commit message: "Bump to 5.0.0" > git rev-list --no-walk 526ed45b0ebe3aad70cef7d99637cac7cb8efed3 # 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/internal/utils/PermissionUtil.java:308: warning: [deprecation] ALL_PERMISSIONS in Permission has been deprecated return Permission.ALL_PERMISSIONS; ^ /var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/internal/utils/PermissionUtil.java:315: warning: [deprecation] ALL_PERMISSIONS in Permission has been deprecated return Permission.ALL_PERMISSIONS; ^ /var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/internal/utils/PermissionUtil.java:352: warning: [deprecation] ALL_PERMISSIONS in Permission has been deprecated return Permission.ALL_PERMISSIONS; ^ /var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/internal/utils/PermissionUtil.java:358: warning: [deprecation] ALL_PERMISSIONS in Permission has been deprecated return Permission.ALL_PERMISSIONS; ^ /var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/internal/utils/PermissionUtil.java:416: warning: [deprecation] ALL_CHANNEL_PERMISSIONS in Permission has been deprecated return Permission.ALL_CHANNEL_PERMISSIONS; ^ 5 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 > 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 :rebuild > Task :generateMetadataFileForReleasePublication > Task :generatePomFileForReleasePublication > Task :initializeSonatypeStagingRepository Created staging repository 'netdv8tion-1056' at https://oss.sonatype.org/service/local/repositories/netdv8tion-1056/content/ > Task :signReleasePublication > Task :publishReleasePublicationToSonatypeRepository FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':publishReleasePublicationToSonatypeRepository'. > Failed to publish publication 'Release' to repository 'sonatype' > Could not PUT 'https://oss.sonatype.org/service/local/staging/deployByRepositoryId/netdv8tion-1056/net/dv8tion/JDA/5.0.0/JDA-5.0.0.jar'. Received status code 401 from server: Content access is protected by token * 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 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 FAILED in 1m 37s 19 actionable tasks: 19 executed Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure Archiving artifacts Publishing Javadoc Finished: FAILURE