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 git://github.com/DenizenScript/dDiscordBot.git # timeout=10 Fetching upstream changes from git://github.com/DenizenScript/dDiscordBot.git > git --version # timeout=10 > git --version # 'git version 1.8.3.1' > git fetch --tags --progress git://github.com/DenizenScript/dDiscordBot.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision 81f9841163afc66e736ef18830448f1de4757416 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 81f9841163afc66e736ef18830448f1de4757416 # timeout=10 Commit message: "match core update" > git rev-list --no-walk c97f2411bfb2ddc2f273614759d70fc4444f29e6 # timeout=10 > git tag -a -f -m Jenkins Build #170 jenkins-dDiscordBot-170 # timeout=10 false Parsing POMs Failed to transfer Could not find metadata org.spigotmc:spigot-api:1.17.1-R0.1-SNAPSHOT/maven-metadata.xml in dv8tion (https://m2.dv8tion.net/releases) Established TCP socket on 35434 [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/cache/jenkins/war/WEB-INF/lib/remoting-4.9.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 35434 <===[JENKINS REMOTING CAPACITY]===>channel started Executing Maven: -B -f /var/lib/jenkins/jobs/dDiscordBot/workspace/pom.xml clean package install -DBUILD_NUMBER=170 [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.2-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 1 resource [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ ddiscordbot --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 34 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-b170.jar [INFO] [INFO] --- maven-shade-plugin:3.2.4:shade (default) @ ddiscordbot --- [INFO] Including net.dv8tion:JDA:jar:4.3.0_305 in the shaded jar. [INFO] Including org.slf4j:slf4j-api:jar:1.7.25 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:3.13.0 in the shaded jar. [INFO] Including com.squareup.okio:okio:jar:1.17.2 in the shaded jar. [INFO] Including club.minnced:opus-java-api:jar:1.1.0 in the shaded jar. [INFO] Including club.minnced:opus-java-natives:jar:1.1.0 in the shaded jar. [INFO] Including org.apache.commons:commons-collections4:jar:4.1 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-databind:jar:2.10.1 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-annotations:jar:2.10.1 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-core:jar:2.10.1 in the shaded jar. [INFO] Excluding com.denizenscript:denizen:jar:1.2.2-SNAPSHOT from the shaded jar. [INFO] Excluding com.google.code.findbugs:jsr305:jar:3.0.2 from the shaded jar. [INFO] Excluding org.jetbrains:annotations:jar:16.0.1 from the shaded jar. [INFO] Excluding net.java.dev.jna:jna:jar:4.4.0 from the shaded jar. [INFO] Skipping pom dependency club.minnced:opus-java:pom:1.1.0 in 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] Discovered module-info.class. Shading will break its strong encapsulation. [WARNING] Discovered module-info.class. Shading will break its strong encapsulation. [WARNING] JDA-4.3.0_305.jar, commons-collections4-4.1.jar, dDiscordBot-0.7-b170.jar, jackson-annotations-2.10.1.jar, jackson-core-2.10.1.jar, jackson-databind-2.10.1.jar, nv-websocket-client-2.14.jar, okhttp-3.13.0.jar, okio-1.17.2.jar, opus-java-api-1.1.0.jar, opus-java-natives-1.1.0.jar, slf4j-api-1.7.25.jar, trove4j-3.0.3.jar define 1 overlapping resource: [WARNING] - META-INF/MANIFEST.MF [WARNING] jackson-annotations-2.10.1.jar, jackson-core-2.10.1.jar, jackson-databind-2.10.1.jar define 1 overlapping resource: [WARNING] - META-INF/LICENSE [WARNING] jackson-core-2.10.1.jar, jackson-databind-2.10.1.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 4191 -> 2300 (54%) [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b170.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 1 resource [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-b170.jar [INFO] [INFO] --- maven-shade-plugin:3.2.4:shade (default) @ ddiscordbot --- [INFO] Including net.dv8tion:JDA:jar:4.3.0_305 in the shaded jar. [INFO] Including org.slf4j:slf4j-api:jar:1.7.25 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:3.13.0 in the shaded jar. [INFO] Including com.squareup.okio:okio:jar:1.17.2 in the shaded jar. [INFO] Including club.minnced:opus-java-api:jar:1.1.0 in the shaded jar. [INFO] Including club.minnced:opus-java-natives:jar:1.1.0 in the shaded jar. [INFO] Including org.apache.commons:commons-collections4:jar:4.1 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-databind:jar:2.10.1 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-annotations:jar:2.10.1 in the shaded jar. [INFO] Including com.fasterxml.jackson.core:jackson-core:jar:2.10.1 in the shaded jar. [INFO] Excluding com.denizenscript:denizen:jar:1.2.2-SNAPSHOT from the shaded jar. [INFO] Excluding com.google.code.findbugs:jsr305:jar:3.0.2 from the shaded jar. [INFO] Excluding org.jetbrains:annotations:jar:16.0.1 from the shaded jar. [INFO] Excluding net.java.dev.jna:jna:jar:4.4.0 from the shaded jar. [INFO] Skipping pom dependency club.minnced:opus-java:pom:1.1.0 in 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] Discovered module-info.class. Shading will break its strong encapsulation. [WARNING] Discovered module-info.class. Shading will break its strong encapsulation. [WARNING] JDA-4.3.0_305.jar, commons-collections4-4.1.jar, dDiscordBot-0.7-b170.jar, jackson-annotations-2.10.1.jar, jackson-core-2.10.1.jar, jackson-databind-2.10.1.jar, nv-websocket-client-2.14.jar, okhttp-3.13.0.jar, okio-1.17.2.jar, opus-java-api-1.1.0.jar, opus-java-natives-1.1.0.jar, slf4j-api-1.7.25.jar, trove4j-3.0.3.jar define 1 overlapping resource: [WARNING] - META-INF/MANIFEST.MF [WARNING] jackson-annotations-2.10.1.jar, jackson-core-2.10.1.jar, jackson-databind-2.10.1.jar define 1 overlapping resource: [WARNING] - META-INF/LICENSE [WARNING] jackson-core-2.10.1.jar, jackson-databind-2.10.1.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 4191 -> 2300 (54%) [INFO] Replacing original artifact with shaded artifact. [INFO] Replacing /var/lib/jenkins/jobs/dDiscordBot/workspace/target/dDiscordBot-0.7-b170.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-b170.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 Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 2 second [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 34.772 s [INFO] Finished at: 2021-10-29T03:26:37Z [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-b170.jar to com.denizenscript/ddiscordbot/0.7/ddiscordbot-0.7.jar channel stopped Archiving artifacts Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds Sending notification to Discord. Finished: SUCCESS