Skip to content
Failed

Console Output

Started by user md_5
Running as SYSTEM
Building in workspace /var/lib/jenkins/jobs/BuildTools/workspace
The recommended git tool is: NONE
No credentials specified
Fetching changes from the remote Git repository
 > JGit fetch # timeout=10
Checking out Revision 6bedac8a46f610bc5040958269f467374dc939cf (refs/remotes/origin/master)
Commit message: "#51: Add a GUI frontend and native executables"
Parsing POMs
Established TCP socket on 45923
[workspace] $ /usr/lib/jvm/java-17-openjdk-amd64/bin/java -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/boot/plexus-classworlds-2.6.0.jar:/var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3/conf/logging jenkins.maven3.agent.Maven35Main /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven_3 /var/cache/jenkins/war/WEB-INF/lib/remoting-3160.vd76b_9ddd10cc.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 45923
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /var/lib/jenkins/jobs/BuildTools/workspace/pom.xml clean install -Dbuild.number=167 -P windows-exe -P macos-dmg
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------< org.spigotmc:builder >------------------------
[INFO] Building BuildTools 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ builder ---
[INFO] Deleting /var/lib/jenkins/jobs/BuildTools/workspace/target
[INFO] 
[INFO] --- scriptus:0.5.0:describe (default) @ builder ---
[INFO] Set property "describe" to "git-BuildTools-6bedac8-167"
[INFO] Set property "project.build.outputTimestamp" to "1705196638"
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ builder ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 20 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ builder ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 51 source files to /var/lib/jenkins/jobs/BuildTools/workspace/target/classes
[WARNING] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/gui/panels/options/OptionsPanel.java: Some input files use or override a deprecated API.
[WARNING] /var/lib/jenkins/jobs/BuildTools/workspace/src/main/java/org/spigotmc/gui/panels/options/OptionsPanel.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- animal-sniffer-maven-plugin:1.23:check (default) @ builder ---
[INFO] Checking unresolved references to org.codehaus.mojo.signature:java18:1.0
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ builder ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /var/lib/jenkins/jobs/BuildTools/workspace/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ builder ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ builder ---
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ builder ---
[INFO] Building jar: /var/lib/jenkins/jobs/BuildTools/workspace/target/BuildTools.jar
[INFO] 
[INFO] --- maven-shade-plugin:3.5.1:shade (default) @ builder ---
[INFO] Including com.custardsource.dybdob:java-diff-utils-copy:jar:1.0.5 in the shaded jar.
[INFO] Including com.google.guava:guava:jar:33.0.0-jre in the shaded jar.
[INFO] Including com.google.guava:failureaccess:jar:1.0.2 in the shaded jar.
[INFO] Including com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava in the shaded jar.
[INFO] Including com.google.code.findbugs:jsr305:jar:3.0.2 in the shaded jar.
[INFO] Including org.checkerframework:checker-qual:jar:3.41.0 in the shaded jar.
[INFO] Including com.google.errorprone:error_prone_annotations:jar:2.23.0 in the shaded jar.
[INFO] Including com.google.j2objc:j2objc-annotations:jar:2.8 in the shaded jar.
[INFO] Including net.sf.jopt-simple:jopt-simple:jar:5.0.4 in the shaded jar.
[INFO] Including org.eclipse.jgit:org.eclipse.jgit:jar:5.13.3.202401111512-r in the shaded jar.
[INFO] Including com.googlecode.javaewah:JavaEWAH:jar:1.1.13 in the shaded jar.
[INFO] Including org.slf4j:slf4j-api:jar:1.7.30 in the shaded jar.
[INFO] Including org.slf4j:slf4j-jdk14:jar:1.7.30 in the shaded jar.
[INFO] Including commons-io:commons-io:jar:2.15.1 in the shaded jar.
[INFO] Including com.google.code.gson:gson:jar:2.10.1 in the shaded jar.
[INFO] Including com.formdev:flatlaf:jar:3.3 in the shaded jar.
[INFO] Including com.jeff-media:javafinder:jar:1.4.2 in the shaded jar.
[INFO] Minimizing jar org.spigotmc:builder:jar:1.0-SNAPSHOT
[INFO] Dependency-reduced POM written at: /var/lib/jenkins/jobs/BuildTools/workspace/dependency-reduced-pom.xml
[WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
[WARNING] commons-io-2.15.1.jar, gson-2.10.1.jar define 1 overlapping classes: 
[WARNING]   - META-INF.versions.9.module-info
[WARNING] BuildTools.jar, JavaEWAH-1.1.13.jar, checker-qual-3.41.0.jar, commons-io-2.15.1.jar, error_prone_annotations-2.23.0.jar, failureaccess-1.0.2.jar, flatlaf-3.3.jar, gson-2.10.1.jar, guava-33.0.0-jre.jar, j2objc-annotations-2.8.jar, java-diff-utils-copy-1.0.5.jar, javafinder-1.4.2.jar, jopt-simple-5.0.4.jar, jsr305-3.0.2.jar, listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar, org.eclipse.jgit-5.13.3.202401111512-r.jar, slf4j-api-1.7.30.jar, slf4j-jdk14-1.7.30.jar define 1 overlapping resource: 
[WARNING]   - META-INF/MANIFEST.MF
[WARNING] checker-qual-3.41.0.jar, commons-io-2.15.1.jar define 1 overlapping resource: 
[WARNING]   - META-INF/LICENSE.txt
[WARNING] flatlaf-3.3.jar, guava-33.0.0-jre.jar define 1 overlapping resource: 
[WARNING]   - META-INF/LICENSE
[WARNING] maven-shade-plugin has detected that some files are
[WARNING] present in two or more JARs. When this happens, only one
[WARNING] single version of the file 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 5268 -> 3441 (65%)
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing /var/lib/jenkins/jobs/BuildTools/workspace/target/BuildTools.jar with /var/lib/jenkins/jobs/BuildTools/workspace/target/builder-1.0-SNAPSHOT-shaded.jar
[INFO] 
[INFO] --- launch4j-maven-plugin:2.4.1:launch4j (default) @ builder ---
[INFO] Platform-specific work directory already exists: /var/lib/jenkins/.m2/repository/net/sf/launch4j/launch4j/3.50/launch4j-3.50-workdir-linux64
[INFO] launch4j: Compiling resources
[INFO] launch4j: Linking
[INFO] launch4j: Wrapping
WARNING: Sign the executable to minimize antivirus false positives or use launching instead of wrapping.
[INFO] launch4j: Successfully created /var/lib/jenkins/jobs/BuildTools/workspace/target/BuildTools.exe
[INFO] 
[INFO] --- macosappbundler-maven-plugin:1.20.1:bundle (default) @ builder ---
[INFO] Creating app directory at: /var/lib/jenkins/jobs/BuildTools/workspace/target/BuildTools.app
[INFO] Copy application classes to: /var/lib/jenkins/jobs/BuildTools/workspace/target/BuildTools.app/Contents/Java
[INFO] Copy native executable for binary type UNIVERSAL to: /var/lib/jenkins/jobs/BuildTools/workspace/target/BuildTools.app/Contents/MacOS/JavaLauncher
[INFO] Generating Info.plist
[INFO] Create Applications symlink
[INFO] Generating DMG archive
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ builder ---
[INFO] Installing /var/lib/jenkins/jobs/BuildTools/workspace/target/BuildTools.jar to /var/lib/jenkins/.m2/repository/org/spigotmc/builder/1.0-SNAPSHOT/builder-1.0-SNAPSHOT.jar
[INFO] Installing /var/lib/jenkins/jobs/BuildTools/workspace/dependency-reduced-pom.xml to /var/lib/jenkins/.m2/repository/org/spigotmc/builder/1.0-SNAPSHOT/builder-1.0-SNAPSHOT.pom
[JENKINS] Archiving disabled
[JENKINS] Archiving disabled
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  11.611 s
[INFO] Finished at: 2024-01-14T01:48:17Z
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
channel stopped
Archiving artifacts
Whitespace can no longer be used as the separator. Please Use ‘,’ as the separator instead.
ERROR: Step ‘Archive the artifacts’ failed: No artifacts found that match the file pattern "target/BuildTools.jar target/BuildTools.exe target/BuildTools.dmg". Configuration error?
Finished: FAILURE