使用docker部署jenkens不可取

报错

Commit message: "add README"
 > /usr/bin/git rev-list --no-walk 4ef697b2b3be985ae7be61b5ab1266893bd5965c # timeout=10
[micro-all] $ /bin/sh -xe /tmp/jenkins1205829938205994092.sh
+ JAVA_HOME=/usr/local/software/jdk1.8.0_241
+ export JAVA_HOME
+ export 'PATH=/usr/local/software/apache-maven-3.6.3/bin:/usr/local/software/jdk1.8.0_241/bin:/usr/local/software/jdk1.8.0_241/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openjdk/bin:/usr/local/software/jdk1.8.0_241/bin'
Parsing POMs
Established TCP socket on 40163
[micro-all] $ /usr/local/software/jdk1.8.0_241/bin/java -cp /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven35-agent-1.13.jar:/usr/local/software/apache-maven-3.6.3/boot/plexus-classworlds-2.6.0.jar:/usr/local/software/apache-maven-3.6.3/conf/logging jenkins.maven3.agent.Maven35Main /usr/local/software/apache-maven-3.6.3 /var/jenkins_home/war/WEB-INF/lib/remoting-4.2.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven35-interceptor-1.13.jar /var/jenkins_home/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.13.jar 40163
ERROR: Failed to parse POMs
java.io.IOException: Cannot run program "/usr/local/software/jdk1.8.0_241/bin/java" (in directory "/var/jenkins_home/workspace/micro-all"): error=2, No such file or directory
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
	at hudson.Proc$LocalProc.<init>(Proc.java:252)
	at hudson.Proc$LocalProc.<init>(Proc.java:221)
	at hudson.Launcher$LocalLauncher.launch(Launcher.java:936)
	at hudson.Launcher$ProcStarter.start(Launcher.java:454)
	at hudson.maven.AbstractMavenProcessFactory.newProcess(AbstractMavenProcessFactory.java:280)
	at hudson.maven.ProcessCache.get(ProcessCache.java:236)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:804)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
	at hudson.model.Run.execute(Run.java:1856)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
	at hudson.model.ResourceController.execute(ResourceController.java:97)
	at hudson.model.Executor.run(Executor.java:428)
Caused by: java.io.IOException: error=2, No such file or directory
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
	at java.lang.ProcessImpl.start(ProcessImpl.java:134)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
	... 12 more
Finished: FAILURE
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值