Skip to content
Failed

Console Output

Started by user PseudoKnight
Running as SYSTEM
Building in workspace /var/jenkins_home/workspace/CHIRC
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /var/jenkins_home/workspace/CHIRC/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/PseudoKnight/CHIRC # timeout=10
Fetching upstream changes from https://github.com/PseudoKnight/CHIRC
 > git --version # timeout=10
 > git --version # 'git version 2.39.2'
 > git fetch --tags --force --progress -- https://github.com/PseudoKnight/CHIRC +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
Checking out Revision 689e1177e8f88a912c99443f89b8ba78f6ffb71a (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 689e1177e8f88a912c99443f89b8ba78f6ffb71a # timeout=10
Commit message: "Merge pull request #13 from PseudoKnight/master"
 > git rev-list --no-walk 689e1177e8f88a912c99443f89b8ba78f6ffb71a # timeout=10
Parsing POMs
Established TCP socket on 40183
[CHIRC] $ /usr/lib/jvm/temurin-8-jdk-amd64/bin/java -cp /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.14.jar:/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.6/boot/plexus-classworlds-2.7.0.jar:/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.6/conf/logging jenkins.maven3.agent.Maven35Main /var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.6 /var/jenkins_home/war/WEB-INF/lib/remoting-3160.vd76b_9ddd10cc.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.14.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.14.jar 40183
Exception in thread "main" java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.findClassInternal(ClassRealm.java:313)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:432)
	at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
	at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
	at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:136)
	at jenkins.maven3.agent.Maven35Main.main(Maven35Main.java:66)
ERROR: ================================================================================
ERROR: Invalid project setup: Connection reset
ERROR: [JENKINS-18403][JENKINS-28294] JDK 'JDK-8' not supported to run Maven projects.
ERROR: Maven projects have to be launched with a Java version greater or equal to the minimum version required by the controller.
ERROR: Use the Maven JDK Toolchains (plugin) to build your maven project with an older JDK.
ERROR: Retrying with agent Java and setting compile/test properties to point to /usr/lib/jvm/temurin-8-jdk-amd64.
ERROR: ================================================================================
Established TCP socket on 35707
[CHIRC] $ /opt/java/openjdk/bin/java -cp /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.14.jar:/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.6/boot/plexus-classworlds-2.7.0.jar:/var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.6/conf/logging jenkins.maven3.agent.Maven35Main /var/jenkins_home/tools/hudson.tasks.Maven_MavenInstallation/Maven_3.9.6 /var/jenkins_home/war/WEB-INF/lib/remoting-3160.vd76b_9ddd10cc.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.14.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.14.jar 35707
<===[JENKINS REMOTING CAPACITY]===>channel started
Executing Maven:  -B -f /var/jenkins_home/workspace/CHIRC/pom.xml clean package
[INFO] Scanning for projects...
[INFO] 
[INFO] -----------------------< com.entityreborn:chirc >-----------------------
[INFO] Building CHIRC 0.0.1
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from enginehub-repo: https://maven.enginehub.org/repo/com/sk89q/commandhelper/3.3.4-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from enginehub-repo: https://maven.enginehub.org/repo/com/sk89q/commandhelper/3.3.4-SNAPSHOT/maven-metadata.xml (989 B at 441 B/s)
[INFO] Downloading from enginehub-repo: https://maven.enginehub.org/repo/org/spigotmc/spigot-api/1.16.2-R0.1-SNAPSHOT/maven-metadata.xml
[INFO] Downloaded from enginehub-repo: https://maven.enginehub.org/repo/org/spigotmc/spigot-api/1.16.2-R0.1-SNAPSHOT/maven-metadata.xml (1.5 kB at 951 B/s)
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ chirc ---
[INFO] 
[INFO] --- buildnumber:1.2:create (default) @ chirc ---
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven-plugin-api/2.0.1/maven-plugin-api-2.0.1.pom (643 B at 1.6 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/maven/2.0.1/maven-2.0.1.pom (11 kB at 110 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-api/1.8/maven-scm-api-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-api/1.8/maven-scm-api-1.8.pom (1.6 kB at 30 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm/1.8/maven-scm-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm/1.8/maven-scm-1.8.pom (21 kB at 200 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.3/plexus-utils-3.0.3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.3/plexus-utils-3.0.3.pom (2.5 kB at 46 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-manager-plexus/1.8/maven-scm-manager-plexus-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-manager-plexus/1.8/maven-scm-manager-plexus-1.8.pom (2.2 kB at 29 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-managers/1.8/maven-scm-managers-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-managers/1.8/maven-scm-managers-1.8.pom (1.5 kB at 30 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-bazaar/1.8/maven-scm-provider-bazaar-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-bazaar/1.8/maven-scm-provider-bazaar-1.8.pom (2.1 kB at 35 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-providers/1.8/maven-scm-providers-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-providers/1.8/maven-scm-providers-1.8.pom (3.7 kB at 69 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/regexp/regexp/1.3/regexp-1.3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/regexp/regexp/1.3/regexp-1.3.pom (145 B at 2.6 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-svnexe/1.8/maven-scm-provider-svnexe-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-svnexe/1.8/maven-scm-provider-svnexe-1.8.pom (2.5 kB at 42 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-providers-svn/1.8/maven-scm-providers-svn-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-providers-svn/1.8/maven-scm-providers-svn-1.8.pom (2.1 kB at 42 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-svn-commons/1.8/maven-scm-provider-svn-commons-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-svn-commons/1.8/maven-scm-provider-svn-commons-1.8.pom (2.7 kB at 59 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-gitexe/1.8/maven-scm-provider-gitexe-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-gitexe/1.8/maven-scm-provider-gitexe-1.8.pom (2.4 kB at 34 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-providers-git/1.8/maven-scm-providers-git-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-providers-git/1.8/maven-scm-providers-git-1.8.pom (2.2 kB at 47 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-git-commons/1.8/maven-scm-provider-git-commons-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-git-commons/1.8/maven-scm-provider-git-commons-1.8.pom (2.3 kB at 48 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.8/maven-scm-provider-cvsexe-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.8/maven-scm-provider-cvsexe-1.8.pom (2.7 kB at 64 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-providers-cvs/1.8/maven-scm-providers-cvs-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-providers-cvs/1.8/maven-scm-providers-cvs-1.8.pom (1.7 kB at 35 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.8/maven-scm-provider-cvs-commons-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.8/maven-scm-provider-cvs-commons-1.8.pom (2.4 kB at 50 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-starteam/1.8/maven-scm-provider-starteam-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-starteam/1.8/maven-scm-provider-starteam-1.8.pom (2.6 kB at 56 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-clearcase/1.8/maven-scm-provider-clearcase-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-clearcase/1.8/maven-scm-provider-clearcase-1.8.pom (2.7 kB at 72 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-perforce/1.8/maven-scm-provider-perforce-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-perforce/1.8/maven-scm-provider-perforce-1.8.pom (2.6 kB at 54 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-hg/1.8/maven-scm-provider-hg-1.8.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-hg/1.8/maven-scm-provider-hg-1.8.pom (2.4 kB at 52 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/com/google/code/maven-scm-provider-svnjava/maven-scm-provider-svnjava/1.13/maven-scm-provider-svnjava-1.13.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/com/google/code/maven-scm-provider-svnjava/maven-scm-provider-svnjava/1.13/maven-scm-provider-svnjava-1.13.pom (9.9 kB at 300 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-svn-commons/1.5/maven-scm-provider-svn-commons-1.5.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-svn-commons/1.5/maven-scm-provider-svn-commons-1.5.pom (2.1 kB at 52 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-providers-svn/1.5/maven-scm-providers-svn-1.5.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-providers-svn/1.5/maven-scm-providers-svn-1.5.pom (2.1 kB at 38 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-providers/1.5/maven-scm-providers-1.5.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-providers/1.5/maven-scm-providers-1.5.pom (3.6 kB at 79 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm/1.5/maven-scm-1.5.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm/1.5/maven-scm-1.5.pom (15 kB at 269 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-api/1.5/maven-scm-api-1.5.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-api/1.5/maven-scm-api-1.5.pom (1.6 kB at 43 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/net/java/dev/jna/jna/3.2.2/jna-3.2.2.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/net/java/dev/jna/jna/3.2.2/jna-3.2.2.pom (1.6 kB at 36 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/tmatesoft/svnkit/svnkit/1.3.5/svnkit-1.3.5.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/tmatesoft/svnkit/svnkit/1.3.5/svnkit-1.3.5.pom (1.1 kB at 25 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/tmatesoft/svnkit/trilead-ssh2/build213-svnkit-1.3-patch/trilead-ssh2-build213-svnkit-1.3-patch.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/tmatesoft/svnkit/trilead-ssh2/build213-svnkit-1.3-patch/trilead-ssh2-build213-svnkit-1.3-patch.pom (725 B at 19 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/tmatesoft/sqljet/sqljet/1.0.4/sqljet-1.0.4.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/tmatesoft/sqljet/sqljet/1.0.4/sqljet-1.0.4.pom (771 B at 23 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.1.3/antlr-runtime-3.1.3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.1.3/antlr-runtime-3.1.3.pom (4.0 kB at 96 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-master/3.1.3/antlr-master-3.1.3.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-master/3.1.3/antlr-master-3.1.3.pom (8.5 kB at 181 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/stringtemplate/3.2/stringtemplate-3.2.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/stringtemplate/3.2/stringtemplate-3.2.pom (2.0 kB at 52 kB/s)
[INFO] Artifact antlr:antlr:pom:2.7.7 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [central (https://repo.maven.apache.org/maven2, default, releases), maven-default-http-blocker (http://0.0.0.0/, default, releases+snapshots, blocked)]
[INFO] Artifact antlr:antlr:pom:2.7.7 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [central (https://repo.maven.apache.org/maven2, default, releases), maven-default-http-blocker (http://0.0.0.0/, default, releases+snapshots, blocked)]
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.pom
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.pom (0 B at 0 B/s)
[INFO] Artifact antlr:antlr:jar:2.7.7 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [central (https://repo.maven.apache.org/maven2, default, releases), maven-default-http-blocker (http://0.0.0.0/, default, releases+snapshots, blocked)]
[INFO] Artifact antlr:antlr:jar:2.7.7 is present in the local repository, but cached from a remote repository ID that is unavailable in current build context, verifying that is downloadable from [central (https://repo.maven.apache.org/maven2, default, releases), maven-default-http-blocker (http://0.0.0.0/, default, releases+snapshots, blocked)]
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-api/1.8/maven-scm-api-1.8.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-api/1.8/maven-scm-api-1.8.jar (105 kB at 1.4 MB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-manager-plexus/1.8/maven-scm-manager-plexus-1.8.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-bazaar/1.8/maven-scm-provider-bazaar-1.8.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/regexp/regexp/1.3/regexp-1.3.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-svnexe/1.8/maven-scm-provider-svnexe-1.8.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-gitexe/1.8/maven-scm-provider-gitexe-1.8.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-manager-plexus/1.8/maven-scm-manager-plexus-1.8.jar (11 kB at 143 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-git-commons/1.8/maven-scm-provider-git-commons-1.8.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-gitexe/1.8/maven-scm-provider-gitexe-1.8.jar (63 kB at 429 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-svn-commons/1.8/maven-scm-provider-svn-commons-1.8.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-svn-commons/1.8/maven-scm-provider-svn-commons-1.8.jar (40 kB at 160 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.8/maven-scm-provider-cvsexe-1.8.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/regexp/regexp/1.3/regexp-1.3.jar (25 kB at 88 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.8/maven-scm-provider-cvs-commons-1.8.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-svnexe/1.8/maven-scm-provider-svnexe-1.8.jar (77 kB at 247 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-starteam/1.8/maven-scm-provider-starteam-1.8.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-bazaar/1.8/maven-scm-provider-bazaar-1.8.jar (55 kB at 159 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-clearcase/1.8/maven-scm-provider-clearcase-1.8.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-git-commons/1.8/maven-scm-provider-git-commons-1.8.jar (38 kB at 109 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-perforce/1.8/maven-scm-provider-perforce-1.8.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvs-commons/1.8/maven-scm-provider-cvs-commons-1.8.jar (80 kB at 196 kB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-cvsexe/1.8/maven-scm-provider-cvsexe-1.8.jar (30 kB at 72 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-hg/1.8/maven-scm-provider-hg-1.8.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/com/google/code/maven-scm-provider-svnjava/maven-scm-provider-svnjava/1.13/maven-scm-provider-svnjava-1.13.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-starteam/1.8/maven-scm-provider-starteam-1.8.jar (74 kB at 169 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/tmatesoft/svnkit/svnkit/1.3.5/svnkit-1.3.5.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-clearcase/1.8/maven-scm-provider-clearcase-1.8.jar (71 kB at 159 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/tmatesoft/svnkit/trilead-ssh2/build213-svnkit-1.3-patch/trilead-ssh2-build213-svnkit-1.3-patch.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-perforce/1.8/maven-scm-provider-perforce-1.8.jar (82 kB at 173 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/tmatesoft/sqljet/sqljet/1.0.4/sqljet-1.0.4.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/com/google/code/maven-scm-provider-svnjava/maven-scm-provider-svnjava/1.13/maven-scm-provider-svnjava-1.13.jar (52 kB at 98 kB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/scm/maven-scm-provider-hg/1.8/maven-scm-provider-hg-1.8.jar (66 kB at 124 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.1.3/antlr-runtime-3.1.3.jar
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/org/antlr/stringtemplate/3.2/stringtemplate-3.2.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/antlr-runtime/3.1.3/antlr-runtime-3.1.3.jar (151 kB at 210 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/tmatesoft/svnkit/trilead-ssh2/build213-svnkit-1.3-patch/trilead-ssh2-build213-svnkit-1.3-patch.jar (251 kB at 345 kB/s)
[INFO] Downloading from central: https://repo.maven.apache.org/maven2/net/java/dev/jna/jna/3.2.2/jna-3.2.2.jar
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/antlr/stringtemplate/3.2/stringtemplate-3.2.jar (172 kB at 234 kB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/antlr/antlr/2.7.7/antlr-2.7.7.jar (0 B at 0 B/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/tmatesoft/sqljet/sqljet/1.0.4/sqljet-1.0.4.jar (744 kB at 747 kB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/net/java/dev/jna/jna/3.2.2/jna-3.2.2.jar (858 kB at 781 kB/s)
[INFO] Downloaded from central: https://repo.maven.apache.org/maven2/org/tmatesoft/svnkit/svnkit/1.3.5/svnkit-1.3.5.jar (1.9 MB at 1.5 MB/s)
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd /var/jenkins_home/workspace/CHIRC && git rev-parse --verify HEAD
[INFO] Working directory: /var/jenkins_home/workspace/CHIRC
[INFO] Storing buildNumber: 689e1177e8f88a912c99443f89b8ba78f6ffb71a at timestamp: 1708752780434
[INFO] Executing: /bin/sh -c cd /var/jenkins_home/workspace/CHIRC && git rev-parse --verify HEAD
[INFO] Working directory: /var/jenkins_home/workspace/CHIRC
[INFO] Storing buildScmBranch: UNKNOWN
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ chirc ---
[INFO] skip non existing resourceDirectory /var/jenkins_home/workspace/CHIRC/src/main/resources
[INFO] 
[INFO] --- compiler:2.3.2:compile (default-compile) @ chirc ---
[INFO] Compiling 4 source files to /var/jenkins_home/workspace/CHIRC/target/classes
[WARNING] -options.
/var/jenkins_home/workspace/CHIRC/src/main/java/com/entityreborn/chirc/Functions.java:[220,39] [deprecation] getInt(Mixed,Target) in Static has been deprecated
[INFO] 
[INFO] --- processor:2.2.4:process (process) @ chirc ---
Processing com.entityreborn.chirc.Tracking
Extension 'CHIRC' checks out ok!
[WARNING] diagnostic: warning: Supported source version 'RELEASE_8' from annotation processor 'com.laytonsmith.core.extensions.ExtensionAnnotationProcessor' less than -source '17'
[INFO] 
[INFO] >>> exec:1.2.1:java (cache-annotations) > validate @ chirc >>>
[INFO] 
[INFO] --- buildnumber:1.2:create (default) @ chirc ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd /var/jenkins_home/workspace/CHIRC && git rev-parse --verify HEAD
[INFO] Working directory: /var/jenkins_home/workspace/CHIRC
[INFO] Storing buildNumber: 689e1177e8f88a912c99443f89b8ba78f6ffb71a at timestamp: 1708752800175
[INFO] Executing: /bin/sh -c cd /var/jenkins_home/workspace/CHIRC && git rev-parse --verify HEAD
[INFO] Working directory: /var/jenkins_home/workspace/CHIRC
[INFO] Storing buildScmBranch: UNKNOWN
[WARNING] Failed to getClass for org.codehaus.mojo.exec.ExecJavaMojo
[INFO] 
[INFO] <<< exec:1.2.1:java (cache-annotations) < validate @ chirc <<<
[INFO] 
[INFO] 
[INFO] --- exec:1.2.1:java (cache-annotations) @ chirc ---
-- Caching annotations --
Scanning for classes in /var/jenkins_home/workspace/CHIRC/target/classes
Outputting file to directory /var/jenkins_home/workspace/CHIRC/target/classes
Done writing jarInfo.ser, which took 743 ms.
-- Checking for custom compile errors --
-- Finished with custom compiler checks --
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ chirc ---
[INFO] skip non existing resourceDirectory /var/jenkins_home/workspace/CHIRC/src/test/resources
[INFO] 
[INFO] --- compiler:2.3.2:testCompile (default-testCompile) @ chirc ---
[INFO] No sources to compile
[INFO] 
[INFO] --- surefire:3.2.2:test (default-test) @ chirc ---
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] --- jar:2.4:jar (default-jar) @ chirc ---
[INFO] Building jar: /var/jenkins_home/workspace/CHIRC/target/chirc-0.0.1.jar
[INFO] 
[INFO] --- shade:1.4:shade (ShadedBundle) @ chirc ---
[INFO] Including com.entityreborn.socbot:SocCore:jar:0.0.0 in the shaded jar.
[INFO] Excluding com.sk89q:commandhelper:jar:3.3.4-SNAPSHOT from the shaded jar.
[INFO] Excluding org.spigotmc:spigot-api:jar:1.16.2-R0.1-SNAPSHOT from the shaded jar.
[INFO] Excluding commons-lang:commons-lang:jar:2.6 from the shaded jar.
[INFO] Excluding com.google.guava:guava:jar:21.0 from the shaded jar.
[INFO] Excluding net.md-5:bungeecord-chat:jar:1.16-R0.3 from the shaded jar.
[INFO] Excluding com.googlecode.json-simple:json-simple:jar:1.1.1 from the shaded jar.
[INFO] Excluding org.mindrot:jBCrypt:jar:1.0 from the shaded jar.
[INFO] Excluding org.perf4j:perf4j:jar:0.9.16 from the shaded jar.
[INFO] Excluding org.xerial:sqlite-jdbc:jar:3.21.0.1 from the shaded jar.
[INFO] Excluding redis.clients:jedis:jar:2.9.0 from the shaded jar.
[INFO] Excluding org.apache.commons:commons-pool2:jar:2.4.2 from the shaded jar.
[INFO] Excluding mysql:mysql-connector-java:jar:8.0.18 from the shaded jar.
[INFO] Excluding com.google.protobuf:protobuf-java:jar:3.6.1 from the shaded jar.
[INFO] Excluding postgresql:postgresql:jar:9.1-901-1.jdbc4 from the shaded jar.
[INFO] Excluding com.microsoft.sqlserver:mssql-jdbc:jar:8.2.2.jre8 from the shaded jar.
[INFO] Excluding org.yaml:snakeyaml:jar:1.26 from the shaded jar.
[INFO] Excluding org.apache.commons:commons-io:jar:2.4 from the shaded jar.
[INFO] Excluding com.jcraft:jsch:jar:0.1.54 from the shaded jar.
[INFO] Excluding net.sourceforge.jchardet:jchardet:jar:1.0 from the shaded jar.
[INFO] Excluding org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:jar:1.0.2 from the shaded jar.
[INFO] Excluding org.apache.oltu.oauth2:org.apache.oltu.oauth2.common:jar:1.0.2 from the shaded jar.
[INFO] Excluding org.json:json:jar:20140107 from the shaded jar.
[INFO] Excluding org.slf4j:slf4j-api:jar:1.7.7 from the shaded jar.
[INFO] Excluding org.brotli:dec:jar:0.1.2 from the shaded jar.
[INFO] Excluding commons-codec:commons-codec:jar:1.11 from the shaded jar.
[INFO] Excluding org.ow2.asm:asm-all:jar:6.0_BETA from the shaded jar.
[INFO] Excluding jline:jline:jar:2.14.5 from the shaded jar.
[INFO] Excluding javax.mail:mail:jar:1.5.0-b01 from the shaded jar.
[INFO] Excluding javax.activation:activation:jar:1.1.1 from the shaded jar.
[INFO] Excluding org.eclipse.lsp4j:org.eclipse.lsp4j:jar:0.8.0 from the shaded jar.
[INFO] Excluding org.eclipse.lsp4j:org.eclipse.lsp4j.generator:jar:0.8.0 from the shaded jar.
[INFO] Excluding org.eclipse.xtend:org.eclipse.xtend.lib:jar:2.18.0 from the shaded jar.
[INFO] Excluding org.eclipse.xtext:org.eclipse.xtext.xbase.lib:jar:2.18.0 from the shaded jar.
[INFO] Excluding org.eclipse.xtend:org.eclipse.xtend.lib.macro:jar:2.18.0 from the shaded jar.
[INFO] Excluding org.eclipse.lsp4j:org.eclipse.lsp4j.jsonrpc:jar:0.8.0 from the shaded jar.
[INFO] Excluding io.swagger.core.v3:swagger-annotations:jar:2.0.0 from the shaded jar.
[INFO] Excluding com.squareup.okhttp:okhttp:jar:2.7.5 from the shaded jar.
[INFO] Excluding com.squareup.okio:okio:jar:1.6.0 from the shaded jar.
[INFO] Excluding com.squareup.okhttp:logging-interceptor:jar:2.7.5 from the shaded jar.
[INFO] Excluding com.google.code.gson:gson:jar:2.8.1 from the shaded jar.
[INFO] Excluding io.gsonfire:gson-fire:jar:1.8.3 from the shaded jar.
[INFO] Excluding org.threeten:threetenbp:jar:1.3.5 from the shaded jar.
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing /var/jenkins_home/workspace/CHIRC/target/chirc-0.0.1.jar with /var/jenkins_home/workspace/CHIRC/target/chirc-0.0.1-shaded.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  48.419 s
[INFO] Finished at: 2024-02-23T22:33:30-07:00
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[JENKINS] Archiving /var/jenkins_home/workspace/CHIRC/dependency-reduced-pom.xml to com.entityreborn/chirc/0.0.1/chirc-0.0.1.pom
[JENKINS] Archiving /var/jenkins_home/workspace/CHIRC/target/chirc-0.0.1.jar to com.entityreborn/chirc/0.0.1/chirc-0.0.1.jar
channel stopped
Setting project description with contents of file [README.md]
ERROR: Processing failed due to a bug in the code. Please report this to the issue tracker (https://jenkins.io/redirect/report-an-issue).
java.lang.RuntimeException: org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens
	at org.jenkinsCi.plugins.projectDescriptionSetter.DescriptionSetterWrapper.expand(DescriptionSetterWrapper.java:136)
	at org.jenkinsCi.plugins.projectDescriptionSetter.DescriptionSetterWrapper.setProjectDescription(DescriptionSetterWrapper.java:110)
	at org.jenkinsCi.plugins.projectDescriptionSetter.DescriptionSetterWrapper.access$000(DescriptionSetterWrapper.java:50)
	at org.jenkinsCi.plugins.projectDescriptionSetter.DescriptionSetterWrapper$2.tearDown(DescriptionSetterWrapper.java:91)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:906)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:526)
	at hudson.model.Run.execute(Run.java:1895)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
	at hudson.model.ResourceController.execute(ResourceController.java:101)
	at hudson.model.Executor.run(Executor.java:442)
Caused by: org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens
	at org.jenkinsci.plugins.tokenmacro.Parser.parse(Parser.java:97)
	at org.jenkinsci.plugins.tokenmacro.Parser.process(Parser.java:75)
	at org.jenkinsci.plugins.tokenmacro.Parser.process(Parser.java:68)
	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:196)
	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:234)
	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:208)
	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:200)
	at org.jenkinsCi.plugins.projectDescriptionSetter.DescriptionSetterWrapper.expand(DescriptionSetterWrapper.java:134)
	... 9 more
Caused by: org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'trigger' in 'Docs can be currently found at http://bit.ly/15LIq6S .

Enjoying the extension? Feel free to make a financial contribution to my work, 
PM me on IRC on irc.esper.net (nick __import__) for more details!

Quick example (place in main.ms):

    ##################################################################################
    # This example will connect the bot to irc.esper.net, using the nickname 'LolBot'
    # and join #commandhelper-testing. Auto-reconnects when there is a connection
    # issue.
    ##################################################################################

    @options = array()
    @options['username'] = 'testbot'
    @options['realname'] = 'Minecraft powered bot'

    irc_create(1)

    if (!irc_info(1)['connected']) {
        console('Connecting...')
        irc_connect(1, 'IRCtest', 'irc.esper.net', @options)
    }

    bind('irc_connection_exception', null, null, @event,
        console(@event['exceptionclass'] . 
            '(' . @event['message'] . ') . 
            Reconnecting...')

        irc_connect(1, 'IRCtest', 'irc.esper.net')
    )

    bind('irc_disconnected', null, null, @event,
        if(!@event['wasClean']) {
            console('Unclean disconnect. Reconnecting...')
            irc_connect(1, 'IRCtest', 'irc.esper.net')
        }
    )

    bind('irc_connected', null, null, @event,
        console('Connected.')
    )

    bind('irc_welcomed', null, null, @event,
        console('Welcomed.')
        irc_join(1, '#commandhelper-testing')
    )

    bind('irc_joined', null, null, @event,
        if (@event['who'] != irc_info(@event['id'])['nickname']) {
            return()
        }

        console('Joined' @event['channel'])
        irc_send_raw(1, 'MODE' @event['channel'])
    )

    bind('irc_msg', null, null, @event,
        ############################
        # Modify this if need be.
        # Defines the character that
        # activates the bot.
        ############################
        @trigchar = '$'

        ##########################
        # Modify this next line!!!
        ##########################
        @allowedNicks = array('__import__', 'LadyCailin')

        if (!array_contains_ic(@allowedNicks, @event['who'])) {
            return()
        }

        @match = reg_match('^' . reg_escape(@trigchar) . '([^ ]+)(\\s+(.*))?$', @event['message'])

        if (@match) {
            @trigger = @match[1]
            @args = @match[3]

            if (@args == '') {
                # This happens if someone says '$trigger ' (ends with a space)
                @args = null
            }

            ###########################
            # Signature for _irc_parse:
            # proc(_irc_parse, @trigger, @args, @match, @event, <code>)
            #
            # return(@val) to have that value spoken back.
            ###########################
            @retn = _irc_parse(@trigger, @args, @match, @event)

            if (@retn) {
                irc_msg(@event['id'], @event['target'], @retn)
            }
        }
    )

You will need to implement _irc_parse in auto_includes.ms, as per the above signature.

An example:

    proc(_irc_parse, @trigger, @args, @match, @event,
        if (@trigger == 'reload') {
            irc_msg(@event['id'], @event['target'], 'Reloaded!')
            run('/reloadaliases -x')

            die()
        }

        if (@trigger == 'eval') {
            if (@args == null) {
                return('You must specify code to evaluate!')
            }

            try(
                @out = eval(@args)
                if (!@out) {
                    @out = '(No output returned)'
                }

                return(@out)
            , @err, 
                return(@err[1])
            )

            return()
        }
    )
'
	at org.jenkinsci.plugins.tokenmacro.Parser.processToken(Parser.java:492)
	at org.jenkinsci.plugins.tokenmacro.Parser.parseNonDelimitedToken(Parser.java:186)
	at org.jenkinsci.plugins.tokenmacro.Parser.parseToken(Parser.java:113)
	at org.jenkinsci.plugins.tokenmacro.Parser.parse(Parser.java:87)
	... 16 more
project=hudson.maven.MavenModuleSet@2e0a11f1[CHIRC]
project.getModules()=[hudson.maven.MavenModule@6811c47e[CHIRC/com.entityreborn:chirc][CHIRC/com.entityreborn:chirc][relativePath:]]
project.getRootModule()=hudson.maven.MavenModule@6811c47e[CHIRC/com.entityreborn:chirc][CHIRC/com.entityreborn:chirc][relativePath:]
Setting project description with contents of file [README.md]
ERROR: Unable to tear down: org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'trigger' in 'Docs can be currently found at http://bit.ly/15LIq6S .

Enjoying the extension? Feel free to make a financial contribution to my work, 
PM me on IRC on irc.esper.net (nick __import__) for more details!

Quick example (place in main.ms):

    ##################################################################################
    # This example will connect the bot to irc.esper.net, using the nickname 'LolBot'
    # and join #commandhelper-testing. Auto-reconnects when there is a connection
    # issue.
    ##################################################################################

    @options = array()
    @options['username'] = 'testbot'
    @options['realname'] = 'Minecraft powered bot'

    irc_create(1)

    if (!irc_info(1)['connected']) {
        console('Connecting...')
        irc_connect(1, 'IRCtest', 'irc.esper.net', @options)
    }

    bind('irc_connection_exception', null, null, @event,
        console(@event['exceptionclass'] . 
            '(' . @event['message'] . ') . 
            Reconnecting...')

        irc_connect(1, 'IRCtest', 'irc.esper.net')
    )

    bind('irc_disconnected', null, null, @event,
        if(!@event['wasClean']) {
            console('Unclean disconnect. Reconnecting...')
            irc_connect(1, 'IRCtest', 'irc.esper.net')
        }
    )

    bind('irc_connected', null, null, @event,
        console('Connected.')
    )

    bind('irc_welcomed', null, null, @event,
        console('Welcomed.')
        irc_join(1, '#commandhelper-testing')
    )

    bind('irc_joined', null, null, @event,
        if (@event['who'] != irc_info(@event['id'])['nickname']) {
            return()
        }

        console('Joined' @event['channel'])
        irc_send_raw(1, 'MODE' @event['channel'])
    )

    bind('irc_msg', null, null, @event,
        ############################
        # Modify this if need be.
        # Defines the character that
        # activates the bot.
        ############################
        @trigchar = '$'

        ##########################
        # Modify this next line!!!
        ##########################
        @allowedNicks = array('__import__', 'LadyCailin')

        if (!array_contains_ic(@allowedNicks, @event['who'])) {
            return()
        }

        @match = reg_match('^' . reg_escape(@trigchar) . '([^ ]+)(\\s+(.*))?$', @event['message'])

        if (@match) {
            @trigger = @match[1]
            @args = @match[3]

            if (@args == '') {
                # This happens if someone says '$trigger ' (ends with a space)
                @args = null
            }

            ###########################
            # Signature for _irc_parse:
            # proc(_irc_parse, @trigger, @args, @match, @event, <code>)
            #
            # return(@val) to have that value spoken back.
            ###########################
            @retn = _irc_parse(@trigger, @args, @match, @event)

            if (@retn) {
                irc_msg(@event['id'], @event['target'], @retn)
            }
        }
    )

You will need to implement _irc_parse in auto_includes.ms, as per the above signature.

An example:

    proc(_irc_parse, @trigger, @args, @match, @event,
        if (@trigger == 'reload') {
            irc_msg(@event['id'], @event['target'], 'Reloaded!')
            run('/reloadaliases -x')

            die()
        }

        if (@trigger == 'eval') {
            if (@args == null) {
                return('You must specify code to evaluate!')
            }

            try(
                @out = eval(@args)
                if (!@out) {
                    @out = '(No output returned)'
                }

                return(@out)
            , @err, 
                return(@err[1])
            )

            return()
        }
    )
'
	at org.jenkinsci.plugins.tokenmacro.Parser.processToken(Parser.java:492)
	at org.jenkinsci.plugins.tokenmacro.Parser.parseNonDelimitedToken(Parser.java:186)
	at org.jenkinsci.plugins.tokenmacro.Parser.parseToken(Parser.java:113)
	at org.jenkinsci.plugins.tokenmacro.Parser.parse(Parser.java:87)
Caused: org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens
	at org.jenkinsci.plugins.tokenmacro.Parser.parse(Parser.java:97)
	at org.jenkinsci.plugins.tokenmacro.Parser.process(Parser.java:75)
	at org.jenkinsci.plugins.tokenmacro.Parser.process(Parser.java:68)
	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:196)
	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:234)
	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:208)
	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:200)
	at org.jenkinsCi.plugins.projectDescriptionSetter.DescriptionSetterWrapper.expand(DescriptionSetterWrapper.java:134)
Caused: java.lang.RuntimeException
	at org.jenkinsCi.plugins.projectDescriptionSetter.DescriptionSetterWrapper.expand(DescriptionSetterWrapper.java:136)
	at org.jenkinsCi.plugins.projectDescriptionSetter.DescriptionSetterWrapper.setProjectDescription(DescriptionSetterWrapper.java:110)
	at org.jenkinsCi.plugins.projectDescriptionSetter.DescriptionSetterWrapper.access$000(DescriptionSetterWrapper.java:50)
	at org.jenkinsCi.plugins.projectDescriptionSetter.DescriptionSetterWrapper$2.tearDown(DescriptionSetterWrapper.java:91)
	at hudson.model.AbstractBuild$AbstractBuildExecution.tearDownBuildEnvironments(AbstractBuild.java:566)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:530)
	at hudson.model.Run.execute(Run.java:1895)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
	at hudson.model.ResourceController.execute(ResourceController.java:101)
	at hudson.model.Executor.run(Executor.java:442)
FATAL: org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens
org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'trigger' in 'Docs can be currently found at http://bit.ly/15LIq6S .

Enjoying the extension? Feel free to make a financial contribution to my work, 
PM me on IRC on irc.esper.net (nick __import__) for more details!

Quick example (place in main.ms):

    ##################################################################################
    # This example will connect the bot to irc.esper.net, using the nickname 'LolBot'
    # and join #commandhelper-testing. Auto-reconnects when there is a connection
    # issue.
    ##################################################################################

    @options = array()
    @options['username'] = 'testbot'
    @options['realname'] = 'Minecraft powered bot'

    irc_create(1)

    if (!irc_info(1)['connected']) {
        console('Connecting...')
        irc_connect(1, 'IRCtest', 'irc.esper.net', @options)
    }

    bind('irc_connection_exception', null, null, @event,
        console(@event['exceptionclass'] . 
            '(' . @event['message'] . ') . 
            Reconnecting...')

        irc_connect(1, 'IRCtest', 'irc.esper.net')
    )

    bind('irc_disconnected', null, null, @event,
        if(!@event['wasClean']) {
            console('Unclean disconnect. Reconnecting...')
            irc_connect(1, 'IRCtest', 'irc.esper.net')
        }
    )

    bind('irc_connected', null, null, @event,
        console('Connected.')
    )

    bind('irc_welcomed', null, null, @event,
        console('Welcomed.')
        irc_join(1, '#commandhelper-testing')
    )

    bind('irc_joined', null, null, @event,
        if (@event['who'] != irc_info(@event['id'])['nickname']) {
            return()
        }

        console('Joined' @event['channel'])
        irc_send_raw(1, 'MODE' @event['channel'])
    )

    bind('irc_msg', null, null, @event,
        ############################
        # Modify this if need be.
        # Defines the character that
        # activates the bot.
        ############################
        @trigchar = '$'

        ##########################
        # Modify this next line!!!
        ##########################
        @allowedNicks = array('__import__', 'LadyCailin')

        if (!array_contains_ic(@allowedNicks, @event['who'])) {
            return()
        }

        @match = reg_match('^' . reg_escape(@trigchar) . '([^ ]+)(\\s+(.*))?$', @event['message'])

        if (@match) {
            @trigger = @match[1]
            @args = @match[3]

            if (@args == '') {
                # This happens if someone says '$trigger ' (ends with a space)
                @args = null
            }

            ###########################
            # Signature for _irc_parse:
            # proc(_irc_parse, @trigger, @args, @match, @event, <code>)
            #
            # return(@val) to have that value spoken back.
            ###########################
            @retn = _irc_parse(@trigger, @args, @match, @event)

            if (@retn) {
                irc_msg(@event['id'], @event['target'], @retn)
            }
        }
    )

You will need to implement _irc_parse in auto_includes.ms, as per the above signature.

An example:

    proc(_irc_parse, @trigger, @args, @match, @event,
        if (@trigger == 'reload') {
            irc_msg(@event['id'], @event['target'], 'Reloaded!')
            run('/reloadaliases -x')

            die()
        }

        if (@trigger == 'eval') {
            if (@args == null) {
                return('You must specify code to evaluate!')
            }

            try(
                @out = eval(@args)
                if (!@out) {
                    @out = '(No output returned)'
                }

                return(@out)
            , @err, 
                return(@err[1])
            )

            return()
        }
    )
'
	at org.jenkinsci.plugins.tokenmacro.Parser.processToken(Parser.java:492)
	at org.jenkinsci.plugins.tokenmacro.Parser.parseNonDelimitedToken(Parser.java:186)
	at org.jenkinsci.plugins.tokenmacro.Parser.parseToken(Parser.java:113)
	at org.jenkinsci.plugins.tokenmacro.Parser.parse(Parser.java:87)
Caused: org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens
	at org.jenkinsci.plugins.tokenmacro.Parser.parse(Parser.java:97)
	at org.jenkinsci.plugins.tokenmacro.Parser.process(Parser.java:75)
	at org.jenkinsci.plugins.tokenmacro.Parser.process(Parser.java:68)
	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:196)
	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:234)
	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:208)
	at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:200)
	at org.jenkinsCi.plugins.projectDescriptionSetter.DescriptionSetterWrapper.expand(DescriptionSetterWrapper.java:134)
Caused: java.lang.RuntimeException
	at org.jenkinsCi.plugins.projectDescriptionSetter.DescriptionSetterWrapper.expand(DescriptionSetterWrapper.java:136)
	at org.jenkinsCi.plugins.projectDescriptionSetter.DescriptionSetterWrapper.setProjectDescription(DescriptionSetterWrapper.java:110)
	at org.jenkinsCi.plugins.projectDescriptionSetter.DescriptionSetterWrapper.access$000(DescriptionSetterWrapper.java:50)
	at org.jenkinsCi.plugins.projectDescriptionSetter.DescriptionSetterWrapper$2.tearDown(DescriptionSetterWrapper.java:91)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:906)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:526)
	at hudson.model.Run.execute(Run.java:1895)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
	at hudson.model.ResourceController.execute(ResourceController.java:101)
	at hudson.model.Executor.run(Executor.java:442)
Archiving artifacts
Finished: FAILURE