It is hard to guess if you do not share the script you use. Are you using the multibranch plug-in? (Then https://issues.jenkins-ci.org/browse/JENKINS-43155 <https://issues.jenkins-ci.org/browse/JENKINS-43155> might be related.)
I have several test cases using the scripted Jenkinsfile so it makes sense to strip down your script to see if I can reproduce it. > Am 21.08.2017 um 19:11 schrieb Steffen Elste <[email protected]>: > > Hi, > i've run into a problem with the FindBugs Plugin, and maybe this is a known > issue and there's a workaround/fix. > > Happens regardless of the OS - i have acccess to Windows 2008 Server and > Ubuntu Linux - and from Jenkins 2.60 LTS upwards, FindBugs version is 4.71 > To reproduce this problem i cloned a (Maven) test project originally created > by Jessie Glick and modified it to run the FindBugs code analysis > (https://github.com/selste/simple-maven-project-with-tests > <https://github.com/selste/simple-maven-project-with-tests>, Branch > 'findbugs'). > > When i use declarative pipeline syntax, everything works as expected - and it > doesn't matter whether i use the 'Jenkinsfile' or the 'Pipeline script' > approach. After at least two successful builds the trend graph is displayed, > as shown in the 'declarative.png' screenshot. > Switching to scripted pipeline syntax leads to a couple of strange effects > (see 'scripted.png' screenshot): > the trend graph is displayed twice after at least two successful builds > the test coverage trend graph is displayed as well even though i did NOT > configure this > Has someone else experienced this problem, and is there a workaround and/or > fix available? > At the moment i'm pretty much stuck with scripted pipeline syntax, there's no > easy way to convert all the projects to declarative syntax. > Cheers, > > S. Elste > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/c922166b-0ffd-4c5c-8a0e-c36a78025e5c%40googlegroups.com > > <https://groups.google.com/d/msgid/jenkinsci-users/c922166b-0ffd-4c5c-8a0e-c36a78025e5c%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > <declarative.png><scripted.png> -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9E77D07E-4340-40D2-B2E5-4B3B527D1201%40gmail.com. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Message signed with OpenPGP
