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 45875
[CHIRC] $ /usr/lib/jvm/temurin-11-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 45875
<===[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] 
[INFO] --- clean:3.2.0:clean (default-clean) @ chirc ---
[INFO] Deleting /var/jenkins_home/workspace/CHIRC/target
[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: 1708752934278
[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
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:
warning: [options] bootstrap class path not set in conjunction with -source 5
error: Source option 5 is no longer supported. Use 6 or later.
error: Target option 1.5 is no longer supported. Use 1.6 or later.

[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  13.026 s
[INFO] Finished at: 2024-02-23T22:35:38-07:00
[INFO] ------------------------------------------------------------------------
Waiting for Jenkins to finish collecting data
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project chirc: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR] warning: [options] bootstrap class path not set in conjunction with -source 5
[ERROR] error: Source option 5 is no longer supported. Use 6 or later.
[ERROR] error: Target option 1.5 is no longer supported. Use 1.6 or later.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[JENKINS] Archiving /var/jenkins_home/workspace/CHIRC/pom.xml to com.entityreborn/chirc/0.0.1/chirc-0.0.1.pom
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