Skip to content

Update to latest github-api 1.99#24

Merged
bitwiseman merged 11 commits into
jenkinsci:masterfrom
bitwiseman:patch-1
Nov 13, 2019
Merged

Update to latest github-api 1.99#24
bitwiseman merged 11 commits into
jenkinsci:masterfrom
bitwiseman:patch-1

Conversation

@bitwiseman
Copy link
Copy Markdown
Contributor

@bitwiseman bitwiseman commented Nov 7, 2019

Also update to latest Jackson2 API and Okio.

Okio 2 is binary compatible with 1.x.

Also update to latest Jackson2 API
okio v2 is api and binary compatible with v1.
https://square.github.io/okio/changelog/

okio 1.6.0 that is included with OkHttp2 is over four years old.
Comment thread pom.xml Outdated
Comment thread pom.xml Outdated
Comment thread src/test/java/jenkins/plugins/github/api/SmokeTest.java Outdated
Copy link
Copy Markdown
Member

@jglick jglick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per #24 (comment) you need to either reintroduce JenkinsRule, or simply update jenkins.version.

@bitwiseman bitwiseman requested a review from jglick November 13, 2019 06:07
Comment thread pom.xml Outdated
Comment thread src/test/java/jenkins/plugins/github/api/SmokeTest.java Outdated
Comment thread src/test/java/jenkins/plugins/github/api/SmokeTest.java Outdated
Comment thread src/test/java/jenkins/plugins/github/api/SmokeTest.java Outdated
Comment thread pom.xml Outdated
@bitwiseman bitwiseman requested a review from jglick November 13, 2019 15:54
@bitwiseman bitwiseman merged commit 2360da3 into jenkinsci:master Nov 13, 2019
@bitwiseman bitwiseman deleted the patch-1 branch November 13, 2019 20:19
@oleg-nenashev
Copy link
Copy Markdown
Member

@bitwiseman @KostyaSha FYI GitHub API 1.99+ requires commons codec 1.13 due to hub4j/github-api#551 . It is above the version used by the Jenkins core, but you do not get an error during the exclusion: https://github.com/jenkinsci/github-api-plugin/blob/master/pom.xml#L77-L80 . Same applies to other exclusions. I am putting the new GitHub API Plugin release on hold, because there is a non-zero chance of nuking the GitHub plugin ecosystem by this release. I suggest reviewing it after DW-JW

@oleg-nenashev
Copy link
Copy Markdown
Member

This pull request cannot be reverted automatically. I suggest doing it manually so that we do not keep the potentially explosive version in the master branch. WDYT @bitwiseman ?

Also CC @batmat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants