SpotBugs actually works on the byte code level so there might be some different results due to the different compiler results (in theory). But I doubt that you get different results in practice. In Jenkins CI we also record issues only for the first environment and skip it for subsequent calls (at least the Jenkins Plugin is not running, maven still runs mvn verify).
> Am 29.11.2020 um 23:20 schrieb Jesse Glick <[email protected]>: > > I would disable SpotBugs, Checkstyle, and PMD on all but one branch, since > the results should be a function of the source code, not the build > environment. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" 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-dev/CANfRfr3UsYEbwsgHVm8kOU5jsezBmxwUYYWShJbzyvSfc9-Cgw%40mail.gmail.com > > <https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr3UsYEbwsgHVm8kOU5jsezBmxwUYYWShJbzyvSfc9-Cgw%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" 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-dev/D9403F7D-8AB5-4853-9ADD-02A3B173DA19%40gmail.com.
