[ 
https://issues.apache.org/jira/browse/BEAM-6912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16801678#comment-16801678
 ] 

Kasia Kucharczyk commented on BEAM-6912:
----------------------------------------

According this 
[documentation|https://jenkins.io/doc/pipeline/steps/warnings-ng/#scanforissues-scan-files-or-the-console-log-for-warnings-or-issues]
 name of method should be spotBugs.

But then it generates problem in this [job 
run|https://builds.apache.org/job/beam_SeedJob/3705/console]:

 
{code:java}
ERROR: Found multiple extensions which provide method spotBugs with arguments 
[job_PreCommit_Java$_run_closure1$_closure2$_closure3$_closure5$_closure7@46b49b8d]:
 [[io.jenkins.plugins.analysis.warnings.FindBugs, 
io.jenkins.plugins.analysis.warnings.SpotBugs]]
{code}
First guess is that FindBugs and SpotBugs has conflict on Jenkins runner.

 

> Spotbugs causes error in SeedJob while parsing PreCommit_Java
> -------------------------------------------------------------
>
>                 Key: BEAM-6912
>                 URL: https://issues.apache.org/jira/browse/BEAM-6912
>             Project: Beam
>          Issue Type: Bug
>          Components: build-system
>            Reporter: Kasia Kucharczyk
>            Assignee: Kasia Kucharczyk
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Change from Findbugs to Spotbug in PreCommit_Java caused following error 
> while running seed job:
> {code:java}
> ERROR: (job_PreCommit_Java.groovy, line 44) No signature of method: 
> javaposse.jobdsl.plugin.structs.DescribableListContext.spotbugs() is 
> applicable for argument types: 
> (job_PreCommit_Java$_run_closure1$_closure2$_closure3$_closure5$_closure7) 
> values: 
> [job_PreCommit_Java$_run_closure1$_closure2$_closure3$_closure5$_closure7@a79b3a7]
> {code}
> Example job run here:
> [https://builds.apache.org/view/A-D/view/Beam/view/All/job/beam_SeedJob/3704/]
> After investigating it with Ismaël, probably the reason is following PR:
> https://github.com/apache/beam/pull/8121/



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to