Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5442

sonar plugin doesn't use maven installation (failed on nodes)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • sonar-plugin
    • None

      mvn -f accommons-libs-parent/pom.xml -Dsonar.jdbc.url=jdbc:mysql://x.x.x.x:x/sonar?useUnicode=true&characterEncoding=utf8 -Dsonar.jdbc.password=x -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.host.url=http://x.x.x.x:x -Dsonar.jdbc.username=sonar -Dmaven.repo.local= -f accommons-libs-parent/pom.xml -Pall -U -B -Dmaven.test.failure.ignore=true -e -B sonar:sonar
      FATAL: command execution failed
      java.io.IOException: mvn: not found
      	at java.lang.UNIXProcess.forkAndExec(Native Method)
      	at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
      	at java.lang.ProcessImpl.start(ProcessImpl.java:65)
      	at java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
      	at hudson.Proc$LocalProc.<init>(Proc.java:149)
      	at hudson.Proc$LocalProc.<init>(Proc.java:121)
      	at hudson.Launcher$LocalLauncher.launch(Launcher.java:633)
      	at hudson.Launcher$ProcStarter.start(Launcher.java:268)
      	at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:778)
      	at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:754)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:104)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      	at hudson.remoting.Request$2.run(Request.java:270)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:123)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      	at java.lang.Thread.run(Thread.java:595)
      
      

            olamy Olivier Lamy
            olamy Olivier Lamy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: