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.39.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 b2eb4f73548b746da347b8dc4a1a312edf9b9100 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f b2eb4f73548b746da347b8dc4a1a312edf9b9100 # timeout=10 Commit message: "Bump version to 5.1.1" > git rev-list --no-walk b2eb4f73548b746da347b8dc4a1a312edf9b9100 # 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 FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':clean'. > java.io.IOException: Unable to delete directory '/var/jenkins_home/workspace/JDA5/build' Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory. - /var/jenkins_home/workspace/JDA5/build/filteredSrc/net/dv8tion/jda/api/JDAInfo.java - /var/jenkins_home/workspace/JDA5/build/filteredSrc/net/dv8tion/jda/api - /var/jenkins_home/workspace/JDA5/build/filteredSrc/net/dv8tion/jda - /var/jenkins_home/workspace/JDA5/build/filteredSrc/net/dv8tion - /var/jenkins_home/workspace/JDA5/build/filteredSrc/net - /var/jenkins_home/workspace/JDA5/build/filteredSrc - /var/jenkins_home/workspace/JDA5/build/publications/Release/module.json - /var/jenkins_home/workspace/JDA5/build/publications/Release/pom-default.xml - /var/jenkins_home/workspace/JDA5/build/publications/Release - /var/jenkins_home/workspace/JDA5/build/publications - /var/jenkins_home/workspace/JDA5/build/tmp/shadowJar/MANIFEST.MF - /var/jenkins_home/workspace/JDA5/build/tmp/shadowJar - /var/jenkins_home/workspace/JDA5/build/tmp/sourcesJar/MANIFEST.MF - /var/jenkins_home/workspace/JDA5/build/tmp/sourcesJar - /var/jenkins_home/workspace/JDA5/build/tmp/compileExamplesJava/previous-compilation-data.bin - /var/jenkins_home/workspace/JDA5/build/tmp/compileExamplesJava - and more ... * 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 35s 1 actionable task: 1 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