Skip to content
Failed

Console Output

Started by user Austin Keener
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 c1646cdf5623355cb5f8c83ca27ad0c5af2c56cc (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c1646cdf5623355cb5f8c83ca27ad0c5af2c56cc # timeout=10
Commit message: "Release 5.0.0-alpha.10"
 > git rev-list --no-walk c1646cdf5623355cb5f8c83ca27ad0c5af2c56cc # 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
> Task :closeRepository
Requested operation was executed successfully in attempt 2 (maximum allowed 31)

> Task :releaseRepository
GET request failed. 404: , body: {"errors":[{"id":"*","msg":"No such repository: netdv8tion-1034"}]}
Requested operation was executed successfully in attempt 2 (maximum allowed 31)

> Task :sourcesForRelease
> Task :generateJavaSources
> Task :compileJava
> 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
> Task :javadocJar
> Task :compileExamplesJava
> Task :processExamplesResources NO-SOURCE
> Task :examplesClasses
> Task :shadowJar
> Task :minimalJar
> Task :noOpusJar
> Task :build
> Task :generateMetadataFileForReleasePublication
> Task :generatePomFileForReleasePublication
> 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-1034/net/dv8tion/JDA/5.0.0-alpha.10/JDA-5.0.0-alpha.10.jar'. Received status code 502 from server: Bad Gateway

* 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

BUILD FAILED in 5m 7s
20 actionable tasks: 20 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