Hi everyone, this is my first time using Jenkins. I'm trying to use Jenkins for some project I have written in Qt framework. There is qmake plug-in for Jenkins in Jenkins wiki page, although this plug-in doesn't exist in Jenkins plug-in list. I've looked for .hpi file for qmakebuilder plug-in, couldn't find it though. So I download the source code from the given repository, tried to compile it as described in Jenkins wiki... but I get build error indicating: Failed to execute goal org.jvnet.hudson.tools:maven-hpi-plugin:1.40:apt-compile (default-apt-compile) on project qmakebuilder: Execution default-apt-compile of goal org.jvnet.hudson.tools:maven-hpi-plugin:1.40:apt-compile failed: A required class was missing while executing org.jvnet.hudson.tools:maven-hpi-plugin:1.40:apt-compile: com/sun/mirror/apt/AnnotationProcessorFactory Seems there is/was compatibility problem between JDK 7 and Jenkins, i dont know how to solve it though. Any of you guys have used this plug-in? or any other Jenkins plug-in to compile Qt projects with? I'm using JDK 7 with Maven 3 on openSuse x64 machine. |
From: mrz <rash...@gmail.com>
To: jenkins...@googlegroups.com
Sent: Saturday, October 20, 2012 5:40 AM
Subject: Jenkins and Qt projects
Hi,
On 20/10/2012 13:45, Richard Mortimer wrote:
> The plugin is already in the jenkins build environment. I suspect it
> needs someone to give it a little care and maybe take ownership of it if
> it still serves a useful purpose.
>
> https://wiki.jenkins-ci.org/display/JENKINS/qmakebuilder+Plugin
> https://github.com/jenkinsci/qmakebuilder-plugin
> https://jenkins.ci.cloudbees.com/job/plugins/job/qmakebuilder-plugin/
>
> It looks like it has been updated to a recent version of the Jenkins
> maven pom so you may have more luck building from the jenkins source.
>
Looks like it does not build with OpenJDK7 at the moment due to reliance
on Sun internal code in the Hudson/Jenkins test framework. Builds fine
with java 6 and that should work on a java 7 runtime.
There is a freshly built hpi file at
https://jenkins.ci.cloudbees.com/job/plugins/job/qmakebuilder-plugin/1/hudson.plugins.qmake$qmakebuilder/
Give that a try and report back how you get on.
Regards
Richard