Open smurugesh1686 opened 5 years ago
@smurugesh1686 are you using pipeline or freestyle job? can you show how are you configuring the plugin?
@dmotpan: It is a freestyle job. JOB Config:
I am experiencing the same issue. Also, I am not sure how instruction coverage is being calculated.
I am experiencing the same issue with a multi-branch pipeline. I have the following line in my Jenkinsfile
step( [ $class: 'CompareCoverageAction', jacocoCounterType: 'LINE', publishResultAs: 'comment', scmVars: [GIT_URL: env.GIT_URL] ] )
I am experiencing the same issue, it appears to be an issue with the UI in Jenkins. We are running Jenkins on Windows.
`
</com.github.terma.jenkins.githubprcoveragestatus.CompareCoverageAction>`
`
</com.github.terma.jenkins.githubprcoveragestatus.CompareCoverageAction>`
I think I found the root cause here: https://stackoverflow.com/questions/28972175/values-not-persisting-in-dropdown-of-optional-block-jelly-jenkins
Will try and create a PR.
Is this issue fixed? I am still facing this issue.
We tried to change the value for "Jacoco coverage counter type" in "Publish coverage to GitHub" from "instruction" to "Line". But it new config changes are not getting changed and it is always considering "instruction".Please advise.