Started by GitHub push by mcmonkey4eva Running as SYSTEM Building in workspace /var/lib/jenkins/jobs/dDiscordBot/workspace The recommended git tool is: NONE No credentials specified > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/dDiscordBot/workspace/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/DenizenScript/dDiscordBot.git # timeout=10 Fetching upstream changes from https://github.com/DenizenScript/dDiscordBot.git > git --version # timeout=10 > git --version # 'git version 1.8.3.1' > git fetch --tags --progress https://github.com/DenizenScript/dDiscordBot.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision 7dd92f265a5835e592f819101a9a086c719f9875 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 7dd92f265a5835e592f819101a9a086c719f9875 # timeout=10 Commit message: "some meta tweaks (prefer channel ID in message examples)" > git rev-list --no-walk f5009e19498ca05477cbd75e08f9cb7a6b51cf1a # timeout=10 > git tag -a -f -m Jenkins Build #241 jenkins-dDiscordBot-241 # timeout=10 false Parsing POMs Failed to transfer Could not find metadata org.spigotmc:spigot-api:1.19.2-R0.1-SNAPSHOT/maven-metadata.xml in dv8tion (https://m2.dv8tion.net/releases) Established TCP socket on 42223 [workspace] $ /var/lib/jenkins/tools/hudson.model.JDK/JDK8/bin/java -Djava.awt.headless=true -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.13.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/boot/plexus-classworlds-2.6.0.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/conf/logging jenkins.maven3.agent.Maven35Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3 /var/lib/jenkins/%C/jenkins/war/WEB-INF/lib/remoting-3046.v38db_38a_b_7a_86.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.13.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.13.jar 42223 Exception in thread "main" java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:425) at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:135) at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:65) ERROR: ================================================================================ ERROR: Invalid project setup: Connection reset ERROR: [JENKINS-18403][JENKINS-28294] JDK 'JDK8' not supported to run Maven projects. ERROR: Maven projects have to be launched with a Java version greater or equal to the minimum version required by the controller. ERROR: Use the Maven JDK Toolchains (plugin) to build your maven project with an older JDK. ERROR: Retrying with agent Java and setting compile/test properties to point to /var/lib/jenkins/tools/hudson.model.JDK/JDK8. ERROR: ================================================================================ Established TCP socket on 33799 [workspace] $ /usr/lib/jvm/java-11-openjdk-11.0.16.0.8-1.el7_9.x86_64/bin/java -Djava.awt.headless=true -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.13.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/boot/plexus-classworlds-2.6.0.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3/conf/logging jenkins.maven3.agent.Maven35Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.6.3 /var/lib/jenkins/%C/jenkins/war/WEB-INF/lib/remoting-3046.v38db_38a_b_7a_86.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.13.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.13.jar 33799 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/dDiscordBot/workspace/pom.xml clean package install -DBUILD_NUMBER=241 [INFO] Scanning for projects... [INFO] [INFO] -------------------< com.denizenscript:ddiscordbot >-------------------- [INFO] Building dDiscordBot 0.7 [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The POM for com.denizenscript:denizen:jar:1.2.5-SNAPSHOT is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ ddiscordbot --- [INFO] Deleting /var/lib/jenkins/jobs/dDiscordBot/workspace/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ddiscordbot --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ ddiscordbot --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 46 source files to /var/lib/jenkins/jobs/dDiscordBot/workspace/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ddiscordbot --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/dDiscordBot/workspace/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ ddiscordbot --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ ddiscordbot --- [INFO] No tests to run. [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ ddiscordbot --- [INFO] Building jar: /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b241.jar [INFO] [INFO] --- maven-shade-plugin:3.2.4:shade (default) @ ddiscordbot --- [INFO] Including net.dv8tion:JDA:jar:5.0.0-alpha.12 in the shaded jar. [INFO] Including org.slf4j:slf4j-api:jar:1.7.36 in the shaded jar. [INFO] Including com.neovisionaries:nv-websocket-client:jar:2.14 in the shaded jar. [INFO] Including com.squareup.okhttp3:okhttp:jar:4.9.3 in the shaded jar. [INFO] Including com.squareup.okio:okio:jar:2.8.0 in the shaded jar. [INFO] Including org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.4.0 in the shaded jar. [INFO] Including org.jetbrains.kotlin:kotlin-stdlib:jar:1.4.10 in the shaded jar. [INFO] Including club.minnced:opus-java:jar:1.1.1 in the shaded jar. [INFO] Including club.minnced:opus-java-api:jar:1.1.1 in the shaded jar. [INFO] Including club.minnced:opus-java-natives:jar:1.1.1 in the shaded jar. [INFO] Including org.apache.commons:commons-collections4:jar:4.4 in the shaded jar. [INFO] Including net.sf.trove4j:trove4j:jar:3.0.3 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-core:jar:2.13.2 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-databind:jar:2.13.2.2 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-annotations:jar:2.13.2 in the shaded jar. [INFO] Excluding com.google.code.findbugs:jsr305:jar:3.0.2 from the shaded jar. [INFO] Excluding org.jetbrains:annotations:jar:23.0.0 from the shaded jar. [INFO] Excluding net.java.dev.jna:jna:jar:4.4.0 from the shaded jar. [INFO] Minimizing jar com.denizenscript:ddiscordbot:jar:0.7 [WARNING] /var/lib/jenkins/jobs/dDiscordBot/workspace/target/classes (Is a directory) [WARNING] Discovered module-info.class. Shading will break its strong encapsulation. [WARNING] JDA-5.0.0-alpha.12.jar, commons-collections4-4.4.jar, dDiscordBot-0.7-b241.jar, jackson-annotations-2.13.2.jar, jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar, kotlin-stdlib-1.4.10.jar, kotlin-stdlib-common-1.4.0.jar, nv-websocket-client-2.14.jar, okhttp-4.9.3.jar, okio-2.8.0.jar, opus-java-1.1.1.jar, opus-java-api-1.1.1.jar, opus-java-natives-1.1.1.jar, slf4j-api-1.7.36.jar, trove4j-3.0.3.jar define 1 overlapping resource: [WARNING] - META-INF/MANIFEST.MF [WARNING] jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar, kotlin-stdlib-1.4.10.jar define 1 overlapping classes: [WARNING] - META-INF.versions.9.module-info [WARNING] jackson-annotations-2.13.2.jar, jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar define 1 overlapping resource: [WARNING] - META-INF/LICENSE [WARNING] jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar define 1 overlapping resource: [WARNING] - META-INF/NOTICE [WARNING] maven-shade-plugin has detected that some class files are [WARNING] present in two or more JARs. When this happens, only one [WARNING] single version of the class is copied to the uber jar. [WARNING] Usually this is not harmful and you can skip these warnings, [WARNING] otherwise try to manually exclude artifacts based on [WARNING] mvn dependency:tree -Ddetail=true and the above output. [WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/ [INFO] Minimized 5683 -> 3517 (61%) [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b241.jar with /var/lib/jenkins/jobs/dDiscordBot/workspace/target/ddiscordbot-0.7-shaded.jar [INFO] Dependency-reduced POM written at: /var/lib/jenkins/jobs/dDiscordBot/workspace/dependency-reduced-pom.xml [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ddiscordbot --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ ddiscordbot --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ddiscordbot --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/dDiscordBot/workspace/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ ddiscordbot --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ ddiscordbot --- [INFO] No tests to run. [INFO] Skipping execution of surefire because it has already been run for this configuration [JENKINS] Recording test results [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ ddiscordbot --- [INFO] Building jar: /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b241.jar [INFO] [INFO] --- maven-shade-plugin:3.2.4:shade (default) @ ddiscordbot --- [INFO] Including net.dv8tion:JDA:jar:5.0.0-alpha.12 in the shaded jar. [INFO] Including org.slf4j:slf4j-api:jar:1.7.36 in the shaded jar. [INFO] Including com.neovisionaries:nv-websocket-client:jar:2.14 in the shaded jar. [INFO] Including com.squareup.okhttp3:okhttp:jar:4.9.3 in the shaded jar. [INFO] Including com.squareup.okio:okio:jar:2.8.0 in the shaded jar. [INFO] Including org.jetbrains.kotlin:kotlin-stdlib-common:jar:1.4.0 in the shaded jar. [INFO] Including org.jetbrains.kotlin:kotlin-stdlib:jar:1.4.10 in the shaded jar. [INFO] Including club.minnced:opus-java:jar:1.1.1 in the shaded jar. [INFO] Including club.minnced:opus-java-api:jar:1.1.1 in the shaded jar. [INFO] Including club.minnced:opus-java-natives:jar:1.1.1 in the shaded jar. [INFO] Including org.apache.commons:commons-collections4:jar:4.4 in the shaded jar. [INFO] Including net.sf.trove4j:trove4j:jar:3.0.3 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-core:jar:2.13.2 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-databind:jar:2.13.2.2 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-annotations:jar:2.13.2 in the shaded jar. [INFO] Excluding com.google.code.findbugs:jsr305:jar:3.0.2 from the shaded jar. [INFO] Excluding org.jetbrains:annotations:jar:23.0.0 from the shaded jar. [INFO] Excluding net.java.dev.jna:jna:jar:4.4.0 from the shaded jar. [INFO] Minimizing jar com.denizenscript:ddiscordbot:jar:0.7 [WARNING] /var/lib/jenkins/jobs/dDiscordBot/workspace/target/classes (Is a directory) [WARNING] Discovered module-info.class. Shading will break its strong encapsulation. [WARNING] JDA-5.0.0-alpha.12.jar, commons-collections4-4.4.jar, dDiscordBot-0.7-b241.jar, jackson-annotations-2.13.2.jar, jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar, kotlin-stdlib-1.4.10.jar, kotlin-stdlib-common-1.4.0.jar, nv-websocket-client-2.14.jar, okhttp-4.9.3.jar, okio-2.8.0.jar, opus-java-1.1.1.jar, opus-java-api-1.1.1.jar, opus-java-natives-1.1.1.jar, slf4j-api-1.7.36.jar, trove4j-3.0.3.jar define 1 overlapping resource: [WARNING] - META-INF/MANIFEST.MF [WARNING] jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar, kotlin-stdlib-1.4.10.jar define 1 overlapping classes: [WARNING] - META-INF.versions.9.module-info [WARNING] jackson-annotations-2.13.2.jar, jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar define 1 overlapping resource: [WARNING] - META-INF/LICENSE [WARNING] jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar define 1 overlapping resource: [WARNING] - META-INF/NOTICE [WARNING] maven-shade-plugin has detected that some class files are [WARNING] present in two or more JARs. When this happens, only one [WARNING] single version of the class is copied to the uber jar. [WARNING] Usually this is not harmful and you can skip these warnings, [WARNING] otherwise try to manually exclude artifacts based on [WARNING] mvn dependency:tree -Ddetail=true and the above output. [WARNING] See http://maven.apache.org/plugins/maven-shade-plugin/ [INFO] Minimized 5683 -> 3517 (61%) [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b241.jar with /var/lib/jenkins/jobs/dDiscordBot/workspace/target/ddiscordbot-0.7-shaded.jar [INFO] Dependency-reduced POM written at: /var/lib/jenkins/jobs/dDiscordBot/workspace/dependency-reduced-pom.xml [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ ddiscordbot --- [INFO] Installing /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b241.jar to /var/lib/jenkins/.m2/repository/com/denizenscript/ddiscordbot/0.7/ddiscordbot-0.7.jar [INFO] Installing /var/lib/jenkins/jobs/dDiscordBot/workspace/dependency-reduced-pom.xml to /var/lib/jenkins/.m2/repository/com/denizenscript/ddiscordbot/0.7/ddiscordbot-0.7.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 23.778 s [INFO] Finished at: 2022-09-01T06:34:22Z [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [JENKINS] Archiving /var/lib/jenkins/jobs/dDiscordBot/workspace/dependency-reduced-pom.xml to com.denizenscript/ddiscordbot/0.7/ddiscordbot-0.7.pom [JENKINS] Archiving /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b241.jar to com.denizenscript/ddiscordbot/0.7/ddiscordbot-0.7.jar channel stopped Archiving artifacts Sending notification to Discord. Finished: SUCCESS