Unable to use Hudson plugin Sonar for code quality analysis of my hudson jobs.

7 views
Skip to first unread message

rahul jangra

unread,
Dec 10, 2010, 10:30:30 AM12/10/10
to Hudson Users
Hi all

I am new to Hudson as well as Sonar. I have hudson master-slave
configuration. Master and Slave both are Solaris Sparc machines. As
given in the process of installation I did the following things:

1. Downloaded and unzipped the Sonar distribution on a proper location
in Master machine.
2. I ran the command ' bin/solaris-sparc-64/sonar.sh console ' .
3. Activated the Sonar plugin from the Hudson Plugin Manager and
configured it .
4. Activated Sonar on jobs from the "Post-build actions" section.
5. My project is using Ant not Maven.
6. I have placed my pom.xml file in the root directory of project.


But when I build the project every time I get this error
at the end of console output:


Archiving artifacts
FATAL: command execution failed
java.io.FileNotFoundException: /vobs/rsm/base/pom.xml (Read-only file
system)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at hudson.FilePath$25.call(FilePath.java:1248)
at hudson.FilePath$25.call(FilePath.java:1244)
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: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)
Finished: FAILURE


And obviously I am not able to view my project at '
http://localhost:9000 '.

Please help.

Thanks a lot.
Rahul
Reply all
Reply to author
Forward
0 new messages