Started by GitHub push by DV8FromTheWorld
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/JDA
The recommended git tool is: NONE
No credentials specified
> git rev-parse --resolve-git-dir /var/jenkins_home/workspace/JDA/.git # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://github.com/DV8FromTheWorld/JDA.git # timeout=10
Fetching upstream changes from https://github.com/DV8FromTheWorld/JDA.git
> git --version # timeout=10
> git --version # 'git version 2.20.1'
> git fetch --tags --force --progress -- https://github.com/DV8FromTheWorld/JDA.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git rev-parse refs/remotes/origin/development^{commit} # timeout=10
Checking out Revision 08c904662e8d7befdeb388e0410c58dc5f6c727a (refs/remotes/origin/development)
> git config core.sparsecheckout # timeout=10
> git checkout -f 08c904662e8d7befdeb388e0410c58dc5f6c727a # timeout=10
Commit message: "Update TextChannelUpdateNSFWEvent.java (#1774)"
> git rev-list --no-walk bd114fa5d78de325ff6c08ea612fdf39ab50a115 # timeout=10
[Gradle] - Launching build.
[JDA] $ /var/jenkins_home/workspace/JDA/gradlew build publish
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :clean
> Task :sourcesForRelease
> Task :generateJavaSources
> Task :compileJava
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/internal/handle/ChannelUpdateHandler.java:23: warning: [deprecation] CategoryUpdatePermissionsEvent in net.dv8tion.jda.api.events.channel.category.update has been deprecated
import net.dv8tion.jda.api.events.channel.category.update.CategoryUpdatePermissionsEvent;
^
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/internal/handle/ChannelUpdateHandler.java:26: warning: [deprecation] StoreChannelUpdatePermissionsEvent in net.dv8tion.jda.api.events.channel.store.update has been deprecated
import net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdatePermissionsEvent;
^
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/internal/handle/GuildMemberRemoveHandler.java:21: warning: [deprecation] GuildMemberLeaveEvent in net.dv8tion.jda.api.events.guild.member has been deprecated
import net.dv8tion.jda.api.events.guild.member.GuildMemberLeaveEvent;
^
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/api/hooks/ListenerAdapter.java:30: warning: [deprecation] CategoryUpdatePermissionsEvent in net.dv8tion.jda.api.events.channel.category.update has been deprecated
import net.dv8tion.jda.api.events.channel.category.update.CategoryUpdatePermissionsEvent;
^
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/api/hooks/ListenerAdapter.java:33: warning: [deprecation] PrivateChannelCreateEvent in net.dv8tion.jda.api.events.channel.priv has been deprecated
import net.dv8tion.jda.api.events.channel.priv.PrivateChannelCreateEvent;
^
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/api/hooks/ListenerAdapter.java:34: warning: [deprecation] PrivateChannelDeleteEvent in net.dv8tion.jda.api.events.channel.priv has been deprecated
import net.dv8tion.jda.api.events.channel.priv.PrivateChannelDeleteEvent;
^
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/api/hooks/ListenerAdapter.java:40: warning: [deprecation] StoreChannelUpdatePermissionsEvent in net.dv8tion.jda.api.events.channel.store.update has been deprecated
import net.dv8tion.jda.api.events.channel.store.update.StoreChannelUpdatePermissionsEvent;
^
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/internal/requests/restaction/GuildActionImpl.java:86: warning: [deprecation] setRegion(Region) in GuildAction has been deprecated
public GuildActionImpl setRegion(Region region)
^
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/internal/entities/GuildImpl.java:546: warning: [deprecation] getRegionRaw() in Guild has been deprecated
public String getRegionRaw()
^
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/internal/handle/GuildUpdateHandler.java:223: warning: [deprecation] GuildUpdateRegionEvent in net.dv8tion.jda.api.events.guild.update has been deprecated
new GuildUpdateRegionEvent(
^
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/internal/managers/GuildManagerImpl.java:142: warning: [deprecation] setRegion(Region) in GuildManager has been deprecated
public GuildManagerImpl setRegion(@Nonnull Region region)
^
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/internal/entities/PrivateChannelImpl.java:139: warning: [deprecation] sendMessage(MessageEmbed) in MessageChannel has been deprecated
public MessageAction sendMessage(@Nonnull MessageEmbed embed)
^
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/internal/entities/PrivateChannelImpl.java:142: warning: [deprecation] sendMessage(MessageEmbed) in MessageChannel has been deprecated
return PrivateChannel.super.sendMessage(embed);
^
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/internal/entities/TextChannelImpl.java:354: warning: [deprecation] sendMessage(MessageEmbed) in MessageChannel has been deprecated
public MessageAction sendMessage(@Nonnull MessageEmbed embed)
^
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/internal/entities/TextChannelImpl.java:360: warning: [deprecation] sendMessage(MessageEmbed) in MessageChannel has been deprecated
return TextChannel.super.sendMessage(embed);
^
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/internal/entities/SystemMessage.java:67: warning: [deprecation] editMessage(MessageEmbed) in Message has been deprecated
public MessageAction editMessage(@Nonnull MessageEmbed newContent)
^
16 warnings
> Task :processResources NO-SOURCE
> Task :classes
> Task :jar
> Task :assemble
> Task :compileTestJava
> Task :processTestResources NO-SOURCE
> Task :testClasses
> Task :test
> Task :check
> Task :javadoc
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/api/hooks/ListenerAdapter.java:297: warning: no @param for event
public void onPrivateChannelCreate(@Nonnull PrivateChannelCreateEvent event) {}
^
/var/jenkins_home/workspace/JDA/src/main/java/net/dv8tion/jda/api/hooks/ListenerAdapter.java:340: warning: no @param for event
public void onGuildUpdateRegion(@Nonnull GuildUpdateRegionEvent event) {}
^
2 warnings
> Task :javadocJar
> Task :sourcesJar
> Task :shadowJar
> Task :minimalJar
> Task :noOpusJar
> Task :build
> Task :generateMetadataFileForS3ReleasePublication
> Task :generatePomFileForS3ReleasePublication
> Task :publishS3ReleasePublicationToMavenRepository
JAXB is unavailable. Will fallback to SDK implementation which may be less performant.If you are using Java 9+, you will need to include javax.xml.bind:jaxb-api as a dependency.
> Task :publish
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 51s
15 actionable tasks: 15 executed
Build step 'Invoke Gradle script' changed build result to SUCCESS
Archiving artifacts
Publishing Javadoc
Finished: SUCCESS