android - Jenkins fails to parse POM on Mac -
i setting ci jenkins on mac mini, after configuration error :
error: failed parse poms java.io. ioexception: cannot run program "/users/shared/jenkins/home/tools/hudson.model.jdk/jdk/bin/java" (in directory "/users/shared/jenkins/home/jobs/maventest/workspace"): error=2, no such file or directory @ java.lang.processbuilder.start(processbuilder.java:1041) @ hudson.proc$localproc.<init>(proc.java:244) @ hudson.proc$localproc.<init>(proc.java:216) @ hudson.launcher$locallauncher.launch(launcher.java:773) @ hudson.launcher$procstarter.start(launcher.java:353) @ hudson.maven.abstractmavenprocessfactory.newprocess(abstractmavenprocessfactory.java:234) @ hudson.maven.processcache.get(processcache.java:235) @ hudson.maven.mavenmodulesetbuild$mavenmodulesetbuildexecution.dorun(mavenmodulesetbuild.java:729) @ hudson.model.abstractbuild$abstractbuildexecution.run(abstractbuild.java:586) @ hudson.model.run.execute(run.java:1603) @ hudson.maven.mavenmodulesetbuild.run(mavenmodulesetbuild.java:506) @ hudson.model.resourcecontroller.execute(resourcecontroller.java:88) @ hudson.model.executor.run(executor.java:247) caused by: java.io.ioexception: error=2, no such file or directory @ java.lang.unixprocess.forkandexec(native method) @ java.lang.unixprocess.<init>(unixprocess.java:135) @ java.lang.processimpl.start(processimpl.java:130) @ java.lang.processbuilder.start(processbuilder.java:1022) ... 12 more
this android project , should work, because downloaded working sample maven related website. ideas?
edit :
in previous lines :
jdk installation skipped: unknown cpu name: mac os x jdk installation skipped: unknown cpu name: mac os x
and guess that's problem. see cannot use "install automaticaly jdk" on mac, have hand, problem path suppose good, returns error /system/library/frameworks/javavm.framework/versions/current/commands doesn’t jdk directory
. path : /system/library/frameworks/javavm.framework/versions/current/commands/
Comments
Post a Comment