我是詹金斯的新手。我使用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);
}
}