Started by user Brokkonaut Running as SYSTEM Building in workspace /home/tomcat/.jenkins/workspace/CubesideNMSUtils The recommended git tool is: NONE using credential a740e5fc-56b2-4305-b679-a29aeacfeabf > git rev-parse --resolve-git-dir /home/tomcat/.jenkins/workspace/CubesideNMSUtils/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/Cubeside/CubesideNMSUtils.git # timeout=10 Fetching upstream changes from https://github.com/Cubeside/CubesideNMSUtils.git > git --version # timeout=10 > git --version # 'git version 2.39.2' using GIT_ASKPASS to set credentials > git fetch --tags --force --progress -- https://github.com/Cubeside/CubesideNMSUtils.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 727bff355d685e42e4d3690b94e9f7ad854be29a (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 727bff355d685e42e4d3690b94e9f7ad854be29a # timeout=10 Commit message: "2nd try" > git rev-list --no-walk e45348d734bb1f3d380b1f5162f8adf6b1d8191d # timeout=10 [CubesideNMSUtils] $ /bin/bash -xe /home/tomcat/tomcat/temp/jenkins9980311945521950477.sh + chmod +x gradlew [Gradle] - Launching build. [CubesideNMSUtils] $ /home/tomcat/.jenkins/workspace/CubesideNMSUtils/gradlew build publishToMavenLocal publish NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED Starting a Gradle Daemon (subsequent builds will be faster) > Configure project :plugin e: file:///home/tomcat/.jenkins/workspace/CubesideNMSUtils/plugin/build.gradle.kts:48:42: The character literal does not conform to the expected type String! e: file:///home/tomcat/.jenkins/workspace/CubesideNMSUtils/plugin/build.gradle.kts:48:42: Too many characters in a character literal ''NEXUS_USR'' e: file:///home/tomcat/.jenkins/workspace/CubesideNMSUtils/plugin/build.gradle.kts:49:42: The character literal does not conform to the expected type String! e: file:///home/tomcat/.jenkins/workspace/CubesideNMSUtils/plugin/build.gradle.kts:49:42: Too many characters in a character literal ''NEXUS_PSW'' FAILURE: Build failed with an exception. * Where: Build file '/home/tomcat/.jenkins/workspace/CubesideNMSUtils/plugin/build.gradle.kts' line: 48 * What went wrong: Script compilation errors: Line 48: username = System.getenv('NEXUS_USR') ^ The character literal does not conform to the expected type String! Line 48: username = System.getenv('NEXUS_USR') ^ Too many characters in a character literal ''NEXUS_USR'' Line 49: password = System.getenv('NEXUS_PSW') ^ The character literal does not conform to the expected type String! Line 49: password = System.getenv('NEXUS_PSW') ^ Too many characters in a character literal ''NEXUS_PSW'' 4 errors * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. BUILD FAILED in 7s Build step 'Invoke Gradle script' changed build result to FAILURE Build step 'Invoke Gradle script' marked build as failure Skipped archiving because build is not successful Finished: FAILURE