Started by an SCM change Running as SYSTEM [EnvInject] - Loading node environment variables. Building in workspace /var/lib/jenkins/workspace/JustEnoughItems-MC1.12 The recommended git tool is: git No credentials specified > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/JustEnoughItems-MC1.12/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/mezz/JustEnoughItems.git # timeout=10 Fetching upstream changes from https://github.com/mezz/JustEnoughItems.git > git --version # timeout=10 > git --version # 'git version 1.8.3.1' > git fetch --tags --progress https://github.com/mezz/JustEnoughItems.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Seen branch in repository origin/1.10 Seen branch in repository origin/1.11 Seen branch in repository origin/1.12 Seen branch in repository origin/1.12-FG3 Seen branch in repository origin/1.12-wip Seen branch in repository origin/1.13 Seen branch in repository origin/1.13-pre Seen branch in repository origin/1.14 Seen branch in repository origin/1.15 Seen branch in repository origin/1.16 Seen branch in repository origin/1.17 Seen branch in repository origin/1.18 Seen branch in repository origin/1.18-9 Seen branch in repository origin/1.18.1 Seen branch in repository origin/1.19 Seen branch in repository origin/1.19.3 Seen branch in repository origin/1.19.4 Seen branch in repository origin/1.20 Seen branch in repository origin/1.20.1 Seen branch in repository origin/1.20.2 Seen branch in repository origin/1.20.4-update Seen branch in repository origin/1.8 Seen branch in repository origin/1.8.8 Seen branch in repository origin/1.8.9 Seen branch in repository origin/1.9 Seen branch in repository origin/async-load Seen branch in repository origin/async-load-19.2 Seen branch in repository origin/async-plugins Seen branch in repository origin/default-wrapper Seen branch in repository origin/ingredient-list-refactor Seen branch in repository origin/kotlin-build-gradle Seen branch in repository origin/modern-gradle Seen branch in repository origin/optimized-registered-ingredients Seen branch in repository origin/search-transformers Seen branch in repository origin/sorting Seen branch in repository origin/subtype-interpreter Seen branch in repository origin/test-gradle Seen branch in repository origin/test-travis-ci Seen 38 remote branches > git show-ref --tags -d # timeout=10 Checking out Revision d80e3a3ff3ed8a9dad4880a1519c2ccfc4401165 (origin/1.12) > git config core.sparsecheckout # timeout=10 > git checkout -f d80e3a3ff3ed8a9dad4880a1519c2ccfc4401165 # timeout=10 Commit message: "publish all jars to maven" > git rev-list --no-walk dcab6490d7ba82633062ab844e13cdd2c330feba # timeout=10 ERROR: ld.so: object '/usr/lib64/libksm_preload.so' from /etc/ld.so.preload cannot be preloaded: ignored. [EnvInject] - Executing scripts and injecting environment variables after the SCM step. [EnvInject] - Mask passwords that will be passed as build parameters. [JustEnoughItems-MC1.12] $ /bin/sh -xe /tmp/jenkins1525422223017543248.sh ERROR: ld.so: object '/usr/lib64/libksm_preload.so' from /etc/ld.so.preload cannot be preloaded: ignored. + rm -rf build/libs ERROR: ld.so: object '/usr/lib64/libksm_preload.so' from /etc/ld.so.preload cannot be preloaded: ignored. [Gradle] - Launching build. [JustEnoughItems-MC1.12] $ /var/lib/jenkins/workspace/JustEnoughItems-MC1.12/gradlew ******** -s -Plocal_maven=/var/www/dvs1/files/maven setupCiWorkspace test reobf uploadArchives curseforge ERROR: ld.so: object '/usr/lib64/libksm_preload.so' from /etc/ld.so.preload cannot be preloaded: ignored. ERROR: ld.so: object '/usr/lib64/libksm_preload.so' from /etc/ld.so.preload cannot be preloaded: ignored. ERROR: ld.so: object '/usr/lib64/libksm_preload.so' from /etc/ld.so.preload cannot be preloaded: ignored. ERROR: ld.so: object '/usr/lib64/libksm_preload.so' from /etc/ld.so.preload cannot be preloaded: ignored. ERROR: ld.so: object '/usr/lib64/libksm_preload.so' from /etc/ld.so.preload cannot be preloaded: ignored. ERROR: JAVA_HOME is set to an invalid directory: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.171-8.b10.el7_5.x86_64 Please set the JAVA_HOME variable in your environment to match the location of your Java installation. Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure Archiving artifacts Recording fingerprints Finished: FAILURE