Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include line in review comment API calls #93

Merged
merged 1 commit into from
Jan 11, 2021

Conversation

tbarda
Copy link

@tbarda tbarda commented Nov 23, 2020

copied @mollstam PR to fix #88

This change sets line instead of position when adding review comments through pullRequest.reviewComment(...) to not have the API call fail with an error.

Seems like GitHub made a change to their API, or I assume this code at one point worked at least, there's an issue upstream about this: jenkinsci#88

copied [@mollstam](https://github.com/mollstam) [PR](https://github.com/Tocaboca/pipeline-github-plugin/pull/1) to fix jenkinsci#88

This change sets `line` instead of `position` when adding review comments through `pullRequest.reviewComment(...)` to not have the API call fail with an error.

Seems like GitHub made a change to their API, or I assume this code at one point worked at least, there's an issue upstream about this: [jenkinsci#88](jenkinsci#88)
@tbarda
Copy link
Author

tbarda commented Dec 7, 2020

@aaronwalker can you review and merge?

@aaronwalker
Copy link
Member

@aaronwalker can you review and merge?

I don't have permissions to merge although @aaronjwhiteside I'd be keen to be added as a maintainer for this plugin

@tbarda
Copy link
Author

tbarda commented Dec 7, 2020

@aaronwalker can you review and merge?

I don't have permissions to merge although @aaronjwhiteside I'd be keen to be added as a maintainer for this plugin

@aaronjwhiteside can you?

@tbarda
Copy link
Author

tbarda commented Jan 10, 2021

@aaronjwhiteside can you look at this?

@aaronjwhiteside aaronjwhiteside merged commit c1da795 into jenkinsci:master Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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