Jenkins 2.46.3 git plugin 3.60 GitHub API Plugin 1.89 GitHub plugin 1.28.0
when I update branch with build status ( although the status updated successfully ) I got the following error :
20:57:57 ERROR: [GitHub Commit Status Setter] - Server returned HTTP response code: 201, message: 'Created' for URL
looks like only the latest github repositories got this error.
any idea ?
=> Upgrade GitHub API Plugin to 1.90+
We got the same issue randomly and regardless which version of the plugin was used (deprecated or obsolete): see NXBT-1987 where I refer to other links.
The cause appeared to be a change in GitHub API: they switched the format of some integers from 32 to 64 bits.
See jenkinsci/github-api-plugin/pull/16 and kohsuke/github-api/issues/387.
The 200 range of status code are not errors. They indicate success. 201 in particular means some resource was successfully created.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With