[JIRA] (JENKINS-58286) JaCoCo plugin fails while adding the parameter buildOverBuild

11 views
Skip to first unread message

arielman22@gmail.com (JIRA)

unread,
Jul 1, 2019, 10:48:03 AM7/1/19
to jenkinsc...@googlegroups.com
Ariel M created an issue
 
Jenkins / Bug JENKINS-58286
JaCoCo plugin fails while adding the parameter buildOverBuild
Issue Type: Bug Bug
Assignee: Victor Martinez
Components: jenkinslint-plugin
Created: 2019-07-01 14:47
Priority: Critical Critical
Reporter: Ariel M

I'm trying to add 2 optional parameters to JaCoCo per the below documentation:

https://jenkins.io/doc/pipeline/steps/jacoco/

 

The parameters are:

publishers {
jacocoCodeCoverage {
buildOverBuild(jacocoChangeBuildStatus)
classPattern(jacocoClassPattern)
exclusionPattern(jacocoExclusionPattern)
execPattern('*/*.exec')
maximumBranchCoverage('0')
maximumClassCoverage('0')
maximumComplexityCoverage('0')
maximumInstructionCoverage('0')
maximumLineCoverage('0')
maximumMethodCoverage('0')
minimumBranchCoverage('0')
minimumClassCoverage('0')
minimumComplexityCoverage('0')
minimumInstructionCoverage('0')
minimumLineCoverage('0')
minimumMethodCoverage('0')
deltaLineCoverage('10')
sourcePattern(jacocoSourcePattern)
}
}

 

The error I'm getting from the log:

ERROR: (GenericSnapshotBuildTst.groovy, line 506) No signature of method: javaposse.jobdsl.dsl.helpers.publisher.JacocoContext.buildOverBuild() is applicable for argument types: (java.lang.Boolean) values: [true]

506 is exactly the line of buildOverBuild.

 

The plugin version is: 2.20

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

VictorMartinezRubio@gmail.com (JIRA)

unread,
Jul 1, 2019, 11:16:03 AM7/1/19
to jenkinsc...@googlegroups.com
Victor Martinez closed an issue as Not A Defect
Change By: Victor Martinez
Status: Open Closed
Resolution: Not A Defect

VictorMartinezRubio@gmail.com (JIRA)

unread,
Jul 1, 2019, 11:16:03 AM7/1/19
to jenkinsc...@googlegroups.com
Victor Martinez commented on Bug JENKINS-58286
 
Re: JaCoCo plugin fails while adding the parameter buildOverBuild

Although this is not about the jenkins-lint plugin, let me guess, based on the console output, that you are using the JobDSL plugin if so https://jenkins.io/doc/pipeline/steps/jacoco/ is not the right place to look for help as that's something specific about the Jenkins pipelines.

Please look at:
https://github.com/jenkinsci/job-dsl-plugin/wiki#getting-started

Besides, for what I can see this is not a bug, so worth if you can look it a bit deeper before raising any ticket.

Cheers

VictorMartinezRubio@gmail.com (JIRA)

unread,
Jul 1, 2019, 11:16:03 AM7/1/19
to jenkinsc...@googlegroups.com

VictorMartinezRubio@gmail.com (JIRA)

unread,
Jul 1, 2019, 11:16:04 AM7/1/19
to jenkinsc...@googlegroups.com
Victor Martinez updated an issue
Change By: Victor Martinez
Component/s: _unsorted
Component/s: jenkinslint-plugin

arielman22@gmail.com (JIRA)

unread,
Jul 1, 2019, 2:12:02 PM7/1/19
to jenkinsc...@googlegroups.com
Ariel M commented on Bug JENKINS-58286
 
Re: JaCoCo plugin fails while adding the parameter buildOverBuild

Tnx

Do you know if this functionality supported in version 2.20 or only on the latest version (3.0.4)?

Reply all
Reply to author
Forward
0 new messages