[JIRA] Created: (HUDSON-6796) "mvn" No such file or directory

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-6796) "mvn" No such file or directory

Hudson issues mailing list
"mvn" No such file or directory
-------------------------------

                 Key: HUDSON-6796
                 URL: http://issues.hudson-ci.org/browse/HUDSON-6796
             Project: Hudson
          Issue Type: Bug
          Components: sonar
    Affects Versions: current
            Reporter: mirumpf
            Assignee: sonarteam


The project is a free-form project and it is building not on the master, but on a build node.

{nofromat}
[trunk] $ mvn -f pom.xml -e -B sonar:sonar -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.url=jdbc:mysql://xxxxx:3306/sonar ******** ******** -Dsonar.host.url=http://xxxxx:9000/
FATAL: command execution failed
java.io.IOException: Cannot run program "mvn" (in directory "/export/build/hudson-slave/workspace/myproject/trunk"): java.io.IOException: error=2, No such file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
        at hudson.Proc$LocalProc.<init>(Proc.java:149)
        at hudson.Proc$LocalProc.<init>(Proc.java:121)
        at hudson.Launcher$LocalLauncher.launch(Launcher.java:638)
        at hudson.Launcher$ProcStarter.start(Launcher.java:273)
        at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793)
        at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767)
        at hudson.remoting.UserRequest.perform(UserRequest.java:114)
        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:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
        ... 15 more
Finished: FAILURE
{noformat}

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-6796) "mvn" No such file or directory

Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mirumpf updated HUDSON-6796:
----------------------------

    Description:
The project is a free-form project and it is building not on the master, but on a build node.

{code}
[trunk] $ mvn -f pom.xml -e -B sonar:sonar -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.url=jdbc:mysql://xxxxx:3306/sonar ******** ******** -Dsonar.host.url=http://xxxxx:9000/
FATAL: command execution failed
java.io.IOException: Cannot run program "mvn" (in directory "/export/build/hudson-slave/workspace/myproject/trunk"): java.io.IOException: error=2, No such file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
        at hudson.Proc$LocalProc.<init>(Proc.java:149)
        at hudson.Proc$LocalProc.<init>(Proc.java:121)
        at hudson.Launcher$LocalLauncher.launch(Launcher.java:638)
        at hudson.Launcher$ProcStarter.start(Launcher.java:273)
        at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793)
        at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767)
        at hudson.remoting.UserRequest.perform(UserRequest.java:114)
        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:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
        ... 15 more
Finished: FAILURE
{code}

  was:
The project is a free-form project and it is building not on the master, but on a build node.

{nofromat}
[trunk] $ mvn -f pom.xml -e -B sonar:sonar -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.url=jdbc:mysql://xxxxx:3306/sonar ******** ******** -Dsonar.host.url=http://xxxxx:9000/
FATAL: command execution failed
java.io.IOException: Cannot run program "mvn" (in directory "/export/build/hudson-slave/workspace/myproject/trunk"): java.io.IOException: error=2, No such file or directory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
        at hudson.Proc$LocalProc.<init>(Proc.java:149)
        at hudson.Proc$LocalProc.<init>(Proc.java:121)
        at hudson.Launcher$LocalLauncher.launch(Launcher.java:638)
        at hudson.Launcher$ProcStarter.start(Launcher.java:273)
        at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793)
        at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767)
        at hudson.remoting.UserRequest.perform(UserRequest.java:114)
        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:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
        ... 15 more
Finished: FAILURE
{noformat}


> "mvn" No such file or directory
> -------------------------------
>
>                 Key: HUDSON-6796
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6796
>             Project: Hudson
>          Issue Type: Bug
>          Components: sonar
>    Affects Versions: current
>            Reporter: mirumpf
>            Assignee: sonarteam
>
> The project is a free-form project and it is building not on the master, but on a build node.
> {code}
> [trunk] $ mvn -f pom.xml -e -B sonar:sonar -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.url=jdbc:mysql://xxxxx:3306/sonar ******** ******** -Dsonar.host.url=http://xxxxx:9000/
> FATAL: command execution failed
> java.io.IOException: Cannot run program "mvn" (in directory "/export/build/hudson-slave/workspace/myproject/trunk"): java.io.IOException: error=2, No such file or directory
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
> at hudson.Proc$LocalProc.<init>(Proc.java:149)
> at hudson.Proc$LocalProc.<init>(Proc.java:121)
> at hudson.Launcher$LocalLauncher.launch(Launcher.java:638)
> at hudson.Launcher$ProcStarter.start(Launcher.java:273)
> at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793)
> at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767)
> at hudson.remoting.UserRequest.perform(UserRequest.java:114)
> 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:441)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
> at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
> at java.lang.ProcessImpl.start(ProcessImpl.java:65)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
> ... 15 more
> Finished: FAILURE
> {code}

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6796) "mvn" No such file or directory

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139506#action_139506 ]

mirumpf commented on HUDSON-6796:
---------------------------------

I to modify the PATH environment variable with the Setenv plugin, but that does not seem to work:

name: PATH
value: ${PATH}:/export/build/maven/bin

The only chance now is to add mvn globally to the PATH...


> "mvn" No such file or directory
> -------------------------------
>
>                 Key: HUDSON-6796
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6796
>             Project: Hudson
>          Issue Type: Bug
>          Components: sonar
>    Affects Versions: current
>            Reporter: mirumpf
>            Assignee: sonarteam
>
> The project is a free-form project and it is building not on the master, but on a build node.
> {code}
> [trunk] $ mvn -f pom.xml -e -B sonar:sonar -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.url=jdbc:mysql://xxxxx:3306/sonar ******** ******** -Dsonar.host.url=http://xxxxx:9000/
> FATAL: command execution failed
> java.io.IOException: Cannot run program "mvn" (in directory "/export/build/hudson-slave/workspace/myproject/trunk"): java.io.IOException: error=2, No such file or directory
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
> at hudson.Proc$LocalProc.<init>(Proc.java:149)
> at hudson.Proc$LocalProc.<init>(Proc.java:121)
> at hudson.Launcher$LocalLauncher.launch(Launcher.java:638)
> at hudson.Launcher$ProcStarter.start(Launcher.java:273)
> at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793)
> at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767)
> at hudson.remoting.UserRequest.perform(UserRequest.java:114)
> 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:441)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
> at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
> at java.lang.ProcessImpl.start(ProcessImpl.java:65)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
> ... 15 more
> Finished: FAILURE
> {code}

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6796) "mvn" No such file or directory

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139820#action_139820 ]

godin commented on HUDSON-6796:
-------------------------------

See [SONARPLUGINS-459|http://jira.codehaus.org/browse/SONARPLUGINS-459]

> "mvn" No such file or directory
> -------------------------------
>
>                 Key: HUDSON-6796
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6796
>             Project: Hudson
>          Issue Type: Bug
>          Components: sonar
>    Affects Versions: current
>            Reporter: mirumpf
>            Assignee: sonarteam
>
> The project is a free-form project and it is building not on the master, but on a build node.
> {code}
> [trunk] $ mvn -f pom.xml -e -B sonar:sonar -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.url=jdbc:mysql://xxxxx:3306/sonar ******** ******** -Dsonar.host.url=http://xxxxx:9000/
> FATAL: command execution failed
> java.io.IOException: Cannot run program "mvn" (in directory "/export/build/hudson-slave/workspace/myproject/trunk"): java.io.IOException: error=2, No such file or directory
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
> at hudson.Proc$LocalProc.<init>(Proc.java:149)
> at hudson.Proc$LocalProc.<init>(Proc.java:121)
> at hudson.Launcher$LocalLauncher.launch(Launcher.java:638)
> at hudson.Launcher$ProcStarter.start(Launcher.java:273)
> at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793)
> at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767)
> at hudson.remoting.UserRequest.perform(UserRequest.java:114)
> 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:441)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
> at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
> at java.lang.ProcessImpl.start(ProcessImpl.java:65)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
> ... 15 more
> Finished: FAILURE
> {code}

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Assigned: (HUDSON-6796) "mvn" No such file or directory

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

godin reassigned HUDSON-6796:
-----------------------------

    Assignee: godin  (was: sonarteam)

> "mvn" No such file or directory
> -------------------------------
>
>                 Key: HUDSON-6796
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6796
>             Project: Hudson
>          Issue Type: Bug
>          Components: sonar
>    Affects Versions: current
>            Reporter: mirumpf
>            Assignee: godin
>
> The project is a free-form project and it is building not on the master, but on a build node.
> {code}
> [trunk] $ mvn -f pom.xml -e -B sonar:sonar -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.url=jdbc:mysql://xxxxx:3306/sonar ******** ******** -Dsonar.host.url=http://xxxxx:9000/
> FATAL: command execution failed
> java.io.IOException: Cannot run program "mvn" (in directory "/export/build/hudson-slave/workspace/myproject/trunk"): java.io.IOException: error=2, No such file or directory
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
> at hudson.Proc$LocalProc.<init>(Proc.java:149)
> at hudson.Proc$LocalProc.<init>(Proc.java:121)
> at hudson.Launcher$LocalLauncher.launch(Launcher.java:638)
> at hudson.Launcher$ProcStarter.start(Launcher.java:273)
> at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793)
> at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767)
> at hudson.remoting.UserRequest.perform(UserRequest.java:114)
> 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:441)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
> at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
> at java.lang.ProcessImpl.start(ProcessImpl.java:65)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
> ... 15 more
> Finished: FAILURE
> {code}

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6796) "mvn" No such file or directory

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=140352#action_140352 ]

godin commented on HUDSON-6796:
-------------------------------

BTW, did you specified Maven version to use in Sonar configuration for Job ?

> "mvn" No such file or directory
> -------------------------------
>
>                 Key: HUDSON-6796
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6796
>             Project: Hudson
>          Issue Type: Bug
>          Components: sonar
>    Affects Versions: current
>            Reporter: mirumpf
>            Assignee: godin
>
> The project is a free-form project and it is building not on the master, but on a build node.
> {code}
> [trunk] $ mvn -f pom.xml -e -B sonar:sonar -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.url=jdbc:mysql://xxxxx:3306/sonar ******** ******** -Dsonar.host.url=http://xxxxx:9000/
> FATAL: command execution failed
> java.io.IOException: Cannot run program "mvn" (in directory "/export/build/hudson-slave/workspace/myproject/trunk"): java.io.IOException: error=2, No such file or directory
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
> at hudson.Proc$LocalProc.<init>(Proc.java:149)
> at hudson.Proc$LocalProc.<init>(Proc.java:121)
> at hudson.Launcher$LocalLauncher.launch(Launcher.java:638)
> at hudson.Launcher$ProcStarter.start(Launcher.java:273)
> at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793)
> at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767)
> at hudson.remoting.UserRequest.perform(UserRequest.java:114)
> 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:441)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
> at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
> at java.lang.ProcessImpl.start(ProcessImpl.java:65)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
> ... 15 more
> Finished: FAILURE
> {code}

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]