jenkinsci / pipeline-github-plugin

Pipeline: GitHub
https://plugins.jenkins.io/pipeline-github/
MIT License
159 stars 73 forks source link

pullRequest.reviewComment method is broken with ' line required and an integer greater than zero' #88

Closed tbarda closed 3 years ago

tbarda commented 4 years ago

Getting org.eclipse.egit.github.core.client.RequestException: Validation Failed (422): line required and an integer greater than zero The method documentation has a lineNumber parameter (https://github.com/jenkinsci/pipeline-github-plugin#adding-a-review-comment) image

while the code has a position parameter and it needs both by GitHb Api Documentation.

There's a fix in to a similar problem