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 b099ac0e565fcde8b5ebc279b0f14949c14ea070 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f b099ac0e565fcde8b5ebc279b0f14949c14ea070 # timeout=10 Commit message: "fix message command save entry not being waited for" > git rev-list --no-walk e523d47343d968d2ce3c9a1be23c7f2eb0d02a6c # timeout=10 > git tag -a -f -m Jenkins Build #270 jenkins-dDiscordBot-270 # timeout=10 false Parsing POMs Failed to transfer Could not find metadata org.spigotmc:spigot-api:1.19.3-R0.1-SNAPSHOT/maven-metadata.xml in everything (https://maven.citizensnpcs.co/repo) Failed to transfer Could not find metadata org.spigotmc:spigot-api:1.19.3-R0.1-SNAPSHOT/maven-metadata.xml in dv8tion (https://m2.dv8tion.net/releases) Downloaded artifact https://maven.citizensnpcs.co/repo/com/denizenscript/denizen/1.2.6-SNAPSHOT/maven-metadata.xml Failed to transfer Could not find metadata com.denizenscript:denizen:1.2.6-SNAPSHOT/maven-metadata.xml in dv8tion (https://m2.dv8tion.net/releases) Downloaded artifact https://maven.citizensnpcs.co/repo/com/denizenscript/denizen/1.2.6-SNAPSHOT/denizen-1.2.6-20230204.210456-55.pom Failed to transfer Could not find metadata com.denizenscript:denizen-parent:1.2.6-SNAPSHOT/maven-metadata.xml in everything (https://maven.citizensnpcs.co/repo) Failed to transfer Could not find metadata com.denizenscript:denizen-parent:1.2.6-SNAPSHOT/maven-metadata.xml in dv8tion (https://m2.dv8tion.net/releases) Downloaded artifact https://maven.citizensnpcs.co/repo/com/denizenscript/denizen/1.2.6-SNAPSHOT/denizen-1.2.6-20230204.210456-55.jar Established TCP socket on 39251 [workspace] $ /usr/lib/jvm/java-17-openjdk//bin/java -Djava.awt.headless=true -cp /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.14.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-3077.vd69cf116da_6f.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.14.jar /var/lib/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.14.jar 39251 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/dDiscordBot/workspace/pom.xml clean package install deploy -DBUILD_NUMBER=270 [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.6-20230204.210456-55 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.10.1:compile (default-compile) @ ddiscordbot --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 50 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.10.1: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.3.0:jar (default-jar) @ ddiscordbot --- [INFO] Building jar: /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b270.jar [INFO] [INFO] --- maven-shade-plugin:3.4.1:shade (default) @ ddiscordbot --- [INFO] Including net.dv8tion:JDA:jar:5.0.0-alpha.20 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 [INFO] Dependency-reduced POM written at: /var/lib/jenkins/jobs/dDiscordBot/workspace/dependency-reduced-pom.xml [WARNING] Discovered module-info.class. Shading will break its strong encapsulation. [WARNING] jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar define 1 overlapping resource: [WARNING] - META-INF/NOTICE [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, kotlin-stdlib-1.4.10.jar define 1 overlapping classes: [WARNING] - META-INF.versions.9.module-info [WARNING] JDA-5.0.0-alpha.20.jar, commons-collections4-4.4.jar, dDiscordBot-0.7-b270.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] 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 https://maven.apache.org/plugins/maven-shade-plugin/ [INFO] Minimized 5798 -> 3645 (62%) [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b270.jar with /var/lib/jenkins/jobs/dDiscordBot/workspace/target/ddiscordbot-0.7-shaded.jar [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.10.1:compile (default-compile) @ ddiscordbot --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 50 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.10.1: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.3.0:jar (default-jar) @ ddiscordbot --- [INFO] Building jar: /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b270.jar [INFO] [INFO] --- maven-shade-plugin:3.4.1:shade (default) @ ddiscordbot --- [INFO] Including net.dv8tion:JDA:jar:5.0.0-alpha.20 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 [INFO] Dependency-reduced POM written at: /var/lib/jenkins/jobs/dDiscordBot/workspace/dependency-reduced-pom.xml [WARNING] Discovered module-info.class. Shading will break its strong encapsulation. [WARNING] jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar define 1 overlapping resource: [WARNING] - META-INF/NOTICE [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, kotlin-stdlib-1.4.10.jar define 1 overlapping classes: [WARNING] - META-INF.versions.9.module-info [WARNING] JDA-5.0.0-alpha.20.jar, commons-collections4-4.4.jar, dDiscordBot-0.7-b270.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] 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 https://maven.apache.org/plugins/maven-shade-plugin/ [INFO] Minimized 5798 -> 3645 (62%) [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b270.jar with /var/lib/jenkins/jobs/dDiscordBot/workspace/target/ddiscordbot-0.7-shaded.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ ddiscordbot --- [INFO] Installing /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b270.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] --- 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.10.1:compile (default-compile) @ ddiscordbot --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 50 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.10.1: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.3.0:jar (default-jar) @ ddiscordbot --- [INFO] Building jar: /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b270.jar [INFO] [INFO] --- maven-shade-plugin:3.4.1:shade (default) @ ddiscordbot --- [INFO] Including net.dv8tion:JDA:jar:5.0.0-alpha.20 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 [INFO] Dependency-reduced POM written at: /var/lib/jenkins/jobs/dDiscordBot/workspace/dependency-reduced-pom.xml [WARNING] Discovered module-info.class. Shading will break its strong encapsulation. [WARNING] jackson-core-2.13.2.jar, jackson-databind-2.13.2.2.jar define 1 overlapping resource: [WARNING] - META-INF/NOTICE [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, kotlin-stdlib-1.4.10.jar define 1 overlapping classes: [WARNING] - META-INF.versions.9.module-info [WARNING] JDA-5.0.0-alpha.20.jar, commons-collections4-4.4.jar, dDiscordBot-0.7-b270.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] 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 https://maven.apache.org/plugins/maven-shade-plugin/ [INFO] Minimized 5798 -> 3645 (62%) [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b270.jar with /var/lib/jenkins/jobs/dDiscordBot/workspace/target/ddiscordbot-0.7-shaded.jar [INFO] [INFO] --- maven-install-plugin:2.4:install (default-install) @ ddiscordbot --- [INFO] Installing /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b270.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: 55.198 s [INFO] Finished at: 2023-02-05T17:02:54Z [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-b270.jar to com.denizenscript/ddiscordbot/0.7/ddiscordbot-0.7.jar channel stopped Archiving artifacts Sending notification to Discord. Finished: SUCCESS