当前位置: 首页 > 知识库问答 >
问题:

jenkins maven SetPercorethread计数

倪举
2023-03-14
  • 詹金斯。1.538

怎么了?

Parsing POMs
maven31-agent.jar already up to date
maven31-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[project] $ /opt/jenkins/tools/hudson.model.JDK/java-1.7.0/bin/java -Xmx512m -Xms512m -Dfile.encoding=UTF-8 -XX:PermSize=128M -cp /opt/jenkins/maven31-agent.jar:/opt/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven-3.2.1/boot/plexus-classworlds-2.5.1.jar:\opt\jenkins\tools\hudson.tasks.Maven_MavenInstallation\maven-3.2.1/conf/logging jenkins.maven3.agent.Maven31Main /opt/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven-3.2.1 /opt/jenkins/slave.jar /opt/jenkins/maven31-interceptor.jar /opt/jenkins/maven3-interceptor-commons.jar 41476
<===[JENKINS REMOTING CAPACITY]===&gtchannel started
...
ERROR: Failed to parse POMs
hudson.util.IOException2
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:178)
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:69)
    at hudson.remoting.UserRequest.perform(UserRequest.java:118)
    at hudson.remoting.UserRequest.perform(UserRequest.java:48)
    at hudson.remoting.Request$2.run(Request.java:326)
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:134)
    ... 9 more
Caused by: java.lang.Exception: java.lang.reflect.InvocationTargetException
    at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:184)
    ... 14 more
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
    at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181)
    ... 14 more
Caused by: java.lang.NoSuchMethodError: org.apache.maven.execution.MavenExecutionRequest.setPerCoreThreadCount(Z)V
    at org.apache.maven.cli.DefaultMavenExecutionRequestBuilder.populateRequest(DefaultMavenExecutionRequestBuilder.java:978)
    at org.apache.maven.cli.DefaultMavenExecutionRequestBuilder.getMavenExecutionRequest(DefaultMavenExecutionRequestBuilder.java:172)
    at org.jvnet.hudson.maven3.launcher.Maven31Launcher.getMavenExecutionRequest(Maven31Launcher.java:153)
    at org.jvnet.hudson.maven3.launcher.Maven31Launcher.main(Maven31Launcher.java:130)
    ... 21 more

共有2个答案

蒋茂
2023-03-14

当我删除-t1cMaven参数(每个核心一个线程)时工作。

燕朝明
2023-03-14

JENKINS-22486由Maven插件2.8修复。

 类似资料:
  • 我已经创建了一个谷歌表单。在单个google工作表中有多个工作表(选项卡)。 我有一张名为 还有其他一些表单,如,。除仪表板外,目前还有2张其他图纸。所有两张图纸都有相同的列 我想在工作表上执行一些计算。 计算总任务数 注意:我上面的公式工作得很好,但我将有20张而不是2张。所以我的计算公式是 etc 每次有新的表格出现时,我所有的公式都会很长。 有什么简单的方法可以在谷歌表格中进行计算吗? 我们

  • 问题内容: 在SQL中按月将一列中的1-12连接到一堆计数的好方法是什么?…在​​SQL中 最终会像 编辑-基本上是一种获取我的月份列表/表格/任何内容的巧妙方法 问题答案: 许多方法…在上一份工作中对许多应用程序来说对我来说效果很好的一种方法是建立时间表。 然后,您可以将其日期字段放在startstamp和endstamp之间的timeframes表中进行联接。 这样可以很容易地拉出某个时间段或

  • 我医生看起来像 我想拥有超过 100个文档在50到100个之间少于100个文档我尝试使用不同的聚合,但我不知道如何在另一个聚合的计数上进行范围聚合 谢谢你的帮助,

  • 每触发一次,数字增加1,并将数字提供给输出 用法 Your browser does not support the video tag. 案例:计数器 功能:每按下一次按钮,计一次数 工作原理 当输入从“no”转化为“yes”时(在电子工程中我们叫它“上升沿”),节点中的数字显示将会加1,并输出。 如果你按下“重置”按钮,数字将会被重置为0;如果“reset”的输入端口由“no”变为“yes”,

  • 寻找解决这类问题的方法,首先可以从设计一些功能简单易运行的函数入手,每一个成功运行的简单函数对于解题都是有帮助的。一步步的设计,最后综合起来得到解决问题的方法。这就是所说的自底向上的程序设计方法。当然,想预先知道哪些函数对于程序设计有帮助,对于初学者来说还是比较困难的,随着经验的积累到一定的程度,你才会得心应手。 同样,由于经验的缺失,有时候我们并不能知道到底要写什么样的函数,这时我们就需要找到程

  • 计费项目 \ Region cnbj0 (金山云-北京3) cnbj2 (金山云-北京6) awsbj0 (AWS-北京) awsusor0 (AWS-Oregon) awssgp0 (AWS-Singapore) awsde0 (AWS-Frankfurt) 存储 (每GB) 0.0364 RMB NA 0.524 USD 0.001 USD 0.001 USD 0.001 USD PUT/PO

  • SDS 的计费项包括以下几种 预设表读写配额 写入配额 AWS-北京 ¥0.058 每10单位的每小时的写入容量 AWS-Oregon $0.0064444 每10单位的每小时的写入容量 金山云-北京6 ¥0.01288 每10单位的每小时的写入容量 读取配额 AWS-北京 ¥0.0029 每10单位的每小时的读取容量 AWS-Oregon $0.00032222 每10单位的每小时的读取容量 金

  • 平均值 # statistics_mean.py from statistics import * data = [1, 2, 2, 5, 10, 12] print('{:0.2f}'.format(mean(data))) # statistics_mode.py from statistics import * data = [1, 2, 2, 5, 10, 12] print(m