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 list of error indicating java.util.NoSuchElementException.
Any of you guys have used this plug-in? or any other Jenkins plug-in to compile Qt projects with?
First of all, my
JAVA_HOMEvariable was not pointing at the right folder i.e. JDK folder and it was set to JRE which caused the maven to not work properly.But after fixing that, I was still getting some compilation error.
Finally, I asked Jenkins people and realized for some reason qmakebuilder is not compatible with JDK 7. Therefore, I download the JDK 6 compile the code with that version and it got compiled just fine. I got the hpi file in the target folder.
Plus, the hpi file for this plug-in NOW can be find here.