'mvn site' fails on Ubuntu 12.04

6 views
Skip to first unread message

oliver

unread,
Jun 7, 2012, 3:44:59 PM6/7/12
to jenkins...@googlegroups.com
Hi,

does anyone has running Jenkins on Ubuntu 12.04? After upgrading from Ubuntu 10.04 to 12.04 I see the following log on the console:
mojoSucceeded org.apache.maven.plugins:maven-site-plugin:3.0(default-site)
[JENKINS] Archiving site from /home/jenkins/.jenkins/jobs/patterntesting-reports/workspace/PatternTesting10/patterntesting-parent/target/site to /home/jenkins/.jenkins/jobs/patterntesting-reports/site/patterntesting-parent
Failed to load native POSIX impl; falling back on Java impl. Stacktrace follows.
java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
at org.jruby.ext.posix.POSIXFactory.loadLibC(POSIXFactory.java:96)
at org.jruby.ext.posix.POSIXFactory.loadLinuxPOSIX(POSIXFactory.java:65)
at org.jruby.ext.posix.POSIXFactory.getPOSIX(POSIXFactory.java:24)
at hudson.os.PosixAPI.<clinit>(PosixAPI.java:40)
at hudson.Util.resolveSymlink(Util.java:1067)
at hudson.Util.resolveSymlink(Util.java:1030)
at hudson.util.DirScanner$Glob.scan(DirScanner.java:115)...
It happens only for jobs with 'mvn site'. On https://issues.jenkins-ci.org/browse/JENKINS-13341 I saw that I'm not the only one who have problems on Ubuntu 12.04. So has anybody running Jenkins successful on Ubuntu 12.04 or does anybody know a workaround?

regards
Oliver

Reply all
Reply to author
Forward
0 new messages