You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe your use-case which is not covered by existing documentation.
i am using GitHub Pull Request Coverage Status in my post build action of jenkins freestyle project. there it is configured as.
Jacoco coverage counter type => Instruction Publish result as => comment
Now i am trying to migrate same for Jenkins pipeline. This is the logic i am using. stage ('PR Coverage to Github') { steps { script { currentBuild.result = 'SUCCESS' } step([$class: 'CompareCoverageAction', publishResultAs: 'Comment']) step([$class: 'MasterCoverageAction', jacocoCounterType: 'INSTRUCTION']) } }
seeing this error.
java.lang.UnsupportedOperationException: Can't find GIT_URL or CHANGE_URL in envs
As per documentation it is mentioned as Trigger MasterCoverageAction to collect master coverage (scmVars is needed for multibranch)
Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.
No response
Are you interested in contributing to the documentation?
No response
The text was updated successfully, but these errors were encountered:
Describe your use-case which is not covered by existing documentation.
i am using GitHub Pull Request Coverage Status in my post build action of jenkins freestyle project. there it is configured as.
Jacoco coverage counter type => Instruction Publish result as => comment
Now i am trying to migrate same for Jenkins pipeline. This is the logic i am using.
stage ('PR Coverage to Github') { steps { script { currentBuild.result = 'SUCCESS' } step([$class: 'CompareCoverageAction', publishResultAs: 'Comment']) step([$class: 'MasterCoverageAction', jacocoCounterType: 'INSTRUCTION']) } }
seeing this error.
As per documentation it is mentioned as
Trigger MasterCoverageAction to collect master coverage (scmVars is needed for multibranch)
Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.
No response
Are you interested in contributing to the documentation?
No response
The text was updated successfully, but these errors were encountered: