GHEvent is missing new events that is breaking Jenkins plugin usage
See original GitHub issueDescribe the bug Getting error:
com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `org.kohsuke.github.GHEvent` from String "merge_queue_entry": not one of the values accepted for Enum class: [GOLLUM, ALL, INTEGRATION_INSTALLATION_REPOSITORIES, META, DOWNLOAD, FORK_APPLY, CHECK_RUN, MARKETPLACE_PURCHASE, PROJECT_CARD, PUSH, PAGE_BUILD, TEAM_ADD, REPOSITORY_VULNERABILITY_ALERT, PACKAGE, DELETE, DEPLOYMENT_STATUS, WATCH, FOLLOW, ORG_BLOCK, ORGANIZATION, COMMIT_COMMENT, ISSUE_COMMENT, REPOSITORY_IMPORT, GITHUB_APP_AUTHORIZATION, CODE_SCANNING_ALERT, CHECK_SUITE, FORK, GIST, CONTENT_REFERENCE, REPOSITORY, INSTALLATION_REPOSITORIES, REPOSITORY_DISPATCH, MILESTONE, STAR, LABEL, MEMBERSHIP, SECURITY_ADVISORY, PROJECT_COLUMN, TEAM, PULL_REQUEST_REVIEW, RELEASE, PUBLIC, WORKFLOW_RUN, STATUS, PULL_REQUEST, PROJECT, WORKFLOW_DISPATCH, CREATE, MEMBER, REGISTRY_PACKAGE, INSTALLATION, DEPLOYMENT, PULL_REQUEST_REVIEW_COMMENT, DEPLOY_KEY, PING, ISSUES]
at [Source: (String)"[{"id":......
When trying to connect to github app from jenkins.
To Reproduce
- Set up Jenkins Github App
- No event subscriptions are needed as this occurs even when nothing is selected
- Start creating a new Github App Credential in jenkins
- Once all the fields are set hit
Test
to test the connection - It should fail with the above error
Expected behavior Jenkins Github App Connectivity should work with new events
Desktop (please complete the following information):
- OS: iOS
- Browser chrome
- Version latest
Additional context Create this PR with possible fix and more info https://github.com/hub4j/github-api/pull/1233
Creating this issue as I was unsure if the PR was enough and also for visibility
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Plugin Usage | Jenkins plugin
This plugin gives you the possibility to analyze the usage of your installed plugins. Usage. You can find the plugin on sidepanel of...
Read more >GitLab - Jenkins Plugins
This plugin allows GitLab to trigger Jenkins builds and display their results in the GitLab UI.
Read more >Build Failure Analyzer - Jenkins Plugins
Build Failure Analyzer. This plugin analyzes the causes of failed builds and presents the causes on the build page.
Read more >All Issues - Jenkins Jira
Credentials are lost after Jenkins restart/upgrade. JENKINS-70274Open. jira-trigger plugin event causes exception after upgrade to jenkins 2.375.1.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes its working and we are unblocked! Thanks @bitwiseman for helping us get through this quickly and closing my PR
I’ve released github-api-plugin 1.133. That should unblock you.
Please respond with your results once you have a chance to test it.
I’ve also merged your PR. It will be in 1.134 . Thanks for contributing!