Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-11-01 Thread Ullrich Hafner
gt;>>>>> >>>>>>> On Mon, Oct 29, 2018 at 7:39 PM def > wrote: >>>>>>> OK, from here: >>>>>>> https://github.com/jenkinsci/warnings-plugin/tree/5.0 >>>>>>> <https://github.com/jenkin

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-11-01 Thread dean warren
gt;>>>>>>>>>> On Monday, 29 October 2018 14:02:45 UTC, def wrote: >>>>>>>>>>> >>>>>>>>>>>> Thanks @ulli for your reply. >>>>>>>>>>>> >>>>>>>>&

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-11-01 Thread Ullrich Hafner
7; >>>>>> Ahh... :) No. Where do I get that from and how to install in Jenkins? >>>>>> >>>>>> On Sat, Oct 27, 2018 at 6:07 PM Ulli Hafner > >>>>>> wrote: >>>>>> >>>>>> >>>>

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-11-01 Thread dean warren
t;>>>>>>>>>> >>>>>>>>>>> On Sat, Oct 27, 2018 at 6:07 PM Ulli Hafner < >>>>>>>>>>> ullrich...@gmail.com> wrote: >>>>>>>>>>> >>>>>

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-30 Thread Ullrich Hafner
t;>>>> timestamps { >>>>>> node ('name') { >>>>>> try >>>>>> { >>>>>> stage ('Checkout') { >>>>>> checkout

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-30 Thread Ullrich Hafner
Style') { >>>>> sh 'java -jar >>>>> /home/user/checkstyle/checkstyle-6.5-all.jar -c /home/user/checkstyle.xml >>>>> -f xml -c target/checkstyle-results.xml src' >>>>> // Doesn't work >>>&

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-30 Thread deanwarrenuk
using all the latest versions of pipeline related >>>>>>>>>>> modules, and the warnings modules. >>>>>>>>>>> >>>>>>>>>>> >>>>>&g

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-30 Thread deanwarrenuk
; checkout scm >>>>>>>>>> } >>>>>>>>>> stage ('Build & Test') { >>>>>>>>>> sh 'bash -x test.sh' >>>

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-30 Thread dean warren
>>>> /home/user/checkstyle.xml >>>>>>>>> -f xml -c target/checkstyle-results.xml src' >>>>>>>>> // Doesn't work >>>>>>>>> //step([$class: 'CheckStylePublisher', >>>>&

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-30 Thread Ullrich Hafner
eStableBuildAsReference: true >>>> //]) >>> >>> This publisher requires the CheckStyle plugin. >>> >>>> // Doesn't work >>>> // step([$class: 'WarningsPublisher', consolePa

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-30 Thread Ullrich Hafner
gt; // Doesn't work >>> def checkstyle = scanForIssues tool: [$class: >>> 'CheckStyle'], pattern: '**/target/checkstyle-result.xml' >>> publishIssues issues:[checkstyle] >>> } >>>

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-30 Thread dean warren
;> //step([$class: 'WarningsPublisher', >>>>>> consoleParsers: [[parserName: 'CheckStyle']]]) >>>>>> >>>>>> >>>>>> >>>>>> The warnings publisher from the 4.x version does n

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-30 Thread deanwarrenuk
x27;, >>>>> consoleParsers: [[parserName: 'CheckStyle']]]) >>>>> >>>>> >>>>> >>>>> The warnings publisher from the 4.x version does not support >>>>> CheckStyle yet. >>>>>

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-29 Thread Ulli Hafner
om the 4.x version does not support CheckStyle >>>>> yet. >>>>> >>>>>> // Doesn't work >>>>>> def checkstyle = scanForIssues tool: [$class: >>>>>> 'CheckStyle'], pattern: '**/

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-29 Thread dean warren
t/checkstyle-result.xml' >>>> publishIssues issues:[checkstyle] >>>> } >>>> } >>>> catch (caughtErr) >>>> { >>>> } >>>> finally >

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-29 Thread sagar utekar
publishIssues issues:[checkstyle] >>> } >>> } >>> catch (caughtErr) >>> { >>> } >>> finally >>> { >>> }

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-29 Thread def
;> { >> } >> } >> } >> >> >> Did you install the 5.0 beta version of the plugin? This step is not >> available in the 4.x version. >> >> Where I have tried three different methods to collect the checkstype >>

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-29 Thread dean warren
methods to collect the checkstype > results, none of which work (I have left two of them commented out for > reference - but beleive these are methods for the legacy checkstyle plugin, > not the newly integrated warnigns plugin?). > > > I believe the last method using scanForIssues is

Re: java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-27 Thread Ulli Hafner
none of which work (I have left two of them commented out for reference - but > beleive these are methods for the legacy checkstyle plugin, not the newly > integrated warnigns plugin?). > > I believe the last method using scanForIssues is the correct method as per > here: >

java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps

2018-10-26 Thread dean warren
as per here: https://github.com/jenkinsci/warnings-plugin/blob/master/Jenkinsfile.local However on build, I see the checkstyle results being generated, but get the following error message java.lang.NoSuchMethodError: No such DSL method 'scanForIssues' found among steps Any ideas? Thanks i