Skip to content
Success

Console Output

Started by GitHub push by MinnDevelopment
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/DV8FromTheWorld/JDA.git # timeout=10
Fetching upstream changes from https://github.com/DV8FromTheWorld/JDA.git
 > git --version # timeout=10
 > git --version # 'git version 2.30.2'
 > git fetch --tags --force --progress -- https://github.com/DV8FromTheWorld/JDA.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 0c0b7b7b1d59cc7c2226c44b5849829eff10f7e7 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0c0b7b7b1d59cc7c2226c44b5849829eff10f7e7 # timeout=10
Commit message: "Add ThreadChannel#retrieveStartMessage (#2438)"
 > git rev-list --no-walk 2e2653e411f66df263926e2bba930676de11fc98 # 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 :initializeSonatypeStagingRepository SKIPPED
> Task :sourcesForRelease
> Task :generateJavaSources

> Task :compileJava
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/api/sharding/ShardManager.java:550: 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:583: 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:121: 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:77: warning: [deprecation] getDiscriminator() in User has been deprecated
    public String getDiscriminator()
                  ^
/var/jenkins_home/workspace/JDA5/src/main/java/net/dv8tion/jda/internal/managers/AccountManagerImpl.java:122: warning: [deprecation] NAME in AccountManager has been deprecated
        if (shouldUpdate(NAME))
                         ^
6 warnings

> Task :processResources NO-SOURCE
> Task :classes
> Task :jar
> Task :assemble
> Task :compileTestJava
> Task :processTestResources NO-SOURCE
> Task :testClasses
> Task :test
> Task :check
> 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/20/ -- Update the command-line options to suppress this warning.
1 warning

> Task :javadocJar

> Task :compileExamplesJava
/var/jenkins_home/workspace/JDA5/src/examples/java/SlashBotExample.java:170: warning: [deprecation] getAsTag() in User has been deprecated
                () -> "Banned by " + event.getUser().getAsTag(), // used if getOption("reason") is null (not provided)
                                                    ^
/var/jenkins_home/workspace/JDA5/src/examples/java/SlashBotExample.java:176: warning: [deprecation] getAsTag() in User has been deprecated
            .flatMap(v -> hook.sendMessage("Banned user " + user.getAsTag())) // chain a followup message after the ban is executed
                                                                ^
2 warnings

> Task :processExamplesResources
> Task :examplesClasses
> Task :shadowJar
> Task :minimalJar
> Task :noOpusJar
> Task :build
> Task :generateMetadataFileForReleasePublication
> Task :generatePomFileForReleasePublication
> Task :signReleasePublication
> Task :publishReleasePublicationToSonatypeRepository SKIPPED
> Task :closeRepository SKIPPED
> Task :releaseRepository SKIPPED
> Task :closeAndReleaseRepository UP-TO-DATE
> Task :release SKIPPED

BUILD SUCCESSFUL in 1m 5s
17 actionable tasks: 17 executed
Build step 'Invoke Gradle script' changed build result to SUCCESS
Archiving artifacts
Publishing Javadoc
Finished: SUCCESS