Hi,
On 20/10/2012 13:24, Mark Waite wrote:
If you'd rather not wrestle with creating a dedicated qmake plugin,
couldn't you call make or gmake or nmake and have it invoke qmake?
That seems to be what is described on the Hudson (not Jenkins) plugin
page that you referenced, and it seems like it should work. You
wouldn't need to bother with attempting to bring that plugin from Hudson
to Jenkins and you wouldn't need to bother with JDK compatibility
questions from attempting to build the plugin.
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.
If that isn't workable, you may want to bring your question to the
Developers mailing list (mailto:*jenkinsci-...@googlegroups.com*).
As Mark says if you have difficulty getting it to work or indeed if it
does work fine then you might find someone on jenkinsci-dev who will be
able to help you - or better yet just ask there or in IRC am I'm sure
that someone will set you up with commit rights so that you can take
ownership of the plugin and do a release yourself.
Regards
Richard
Mark Waite
------------------------------------------------------------------------
*From:* mrz <rashi...@gmail.com>
*To:* jenkinsci-users@googlegroups.com
*Sent:* Saturday, October 20, 2012 5:40 AM
*Subject:* Jenkins and Qt projects
<http://stackoverflow.com/questions/12986156/use-jenkins-ci-for-qt-projects#>
*
*
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
<http://wiki.hudson-ci.org/display/HUDSON/qmakebuilder+Plugin> 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
<https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial>... 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.