Re: Q: How to integrate Maven JSLint plugin with Jenkins Violations plug-in

2013-03-13 Thread Ulli Hafner
Good to see :-) My plug-in requires an absolute path in order to copy the files that have warnings to the master. Make sure, that you set the absolute path for each warning in your groovy script. If you can't compute these you can activate the path "guessing" using the job configuration checkbo

Re: Q: How to integrate Maven JSLint plugin with Jenkins Violations plug-in

2013-03-13 Thread John Smith
Hi Ulli (or anybody else that might know!) I've done as you suggest and I've now got a decent graph of coding errors and it's related report :-) There is just one issue. In the report screen If I click through on a coding bug I get the following error: 1 Copying the source file 'Scripts.js' f

Re: Q: How to integrate Maven JSLint plugin with Jenkins Violations plug-in

2013-03-12 Thread John Smith
Thanks for getting back to me. I'll probably go with option 3 as the quickest option ;-) On Tue, Mar 12, 2013 at 4:33 PM, Ulli Hafner wrote: > I see, the format of javac using maven is slightly different: > > [WARNING] /home/hudson/hudson/data/jobs/Hudson main/workspace/remoting/src > /test/ja

Re: Q: How to integrate Maven JSLint plugin with Jenkins Violations plug-in

2013-03-12 Thread Ulli Hafner
I see, the format of javac using maven is slightly different: [WARNING] /home/hudson/hudson/data/jobs/Hudson main/workspace/remoting/src/test/java/hudson/remoting/BinarySafeStreamTest.java:[3,54] com.sun.org.apache.xerces.internal.impl.dv.util.Base64 is Sun proprietary API and may be removed in

Re: Q: How to integrate Maven JSLint plugin with Jenkins Violations plug-in

2013-03-12 Thread John Smith
Hi, I've done as you suggest and changed the parser to "java Compiler (javac)". The good news is that the builds all work, but unfortunately the graph on the project page is has got a 0 count. I wasn't expecting this because the console shows errors like: [WARNING] scripts.js:11:21:Expected '==='

Re: Q: How to integrate Maven JSLint plugin with Jenkins Violations plug-in

2013-03-08 Thread Ulli Hafner
Hmm, seems that the messages of the maven JSLint plug-in use a different warnings format. You need to choose the parser "Javac". Ulli Am 08.03.2013 um 16:32 schrieb John Smith : > Actually. > > I've added the following to the parent POM > > > org.apache.maven

Re: Q: How to integrate Maven JSLint plugin with Jenkins Violations plug-in

2013-03-08 Thread John Smith
Actually. I've added the following to the parent POM org.apache.maven.plugins maven-compiler-plugin true true but I keep getting the following exception at the

Re: Q: How to integrate Maven JSLint plugin with Jenkins Violations plug-in

2013-03-08 Thread John Smith
Sorry I completely missed your reply - something to do with the way I've set gmail to forwards message I think :-/ My fault I this looks like a viable workaround. I *was *hoping to use the Violations plug in simply because I'm already using it for Java Code in the same project. That said, th

Re: Q: How to integrate Maven JSLint plugin with Jenkins Violations plug-in

2013-03-08 Thread Ulli Hafner
Didn't the answer to your previous thread help? http://jenkins.361315.n4.nabble.com/Q-How-to-use-Maven-JSLint-plugin-with-Jenkins-Violation-Plugin-tp4658337p4658374.html Am 08.03.2013 um 10:57 schrieb John Smith : > Hi, > > Does anybody know how to integrate the "jslint-maven-plugin" from > "o

Q: How to integrate Maven JSLint plugin with Jenkins Violations plug-in

2013-03-08 Thread John Smith
Hi, Does anybody know how to integrate the "jslint-maven-plugin" from "org.codehaus.mojo" with the Jenkins Violations plug-in? My current situation is that I've configured jslint-maven-plugin as part of my maven build. Errors are being written to standard output, so that's the console. In Jenkins