Jenkins构建失败“无法找到或加载主类-Xmx512m:

时间:2018-02-14 16:06:09

标签: java eclipse maven jenkins jenkins-pipeline

我是詹金斯的新手。我使用Maven项目创建了新工作。配置完成后,我选择构建。它失败了,这是错误消息。有谁知道这种错误发生在什么情况?

class MyClass{
    private libInstance : ExternalLibClass;

    constructor() {
        this.libInstance = new ExternalLibClass();
        this.libInstance.on('event1', this.functionA);
        this.libInstance.on('event2', this.functionB);
    }

    private this.functionA (num : number): void {
        // do something
        console.log(num);
    }

    private this.functionB (_ignore :string, num : number) : void {
        this.functionA(num);
    }
}

0 个答案:

没有答案