question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GHEvent is missing new events that is breaking Jenkins plugin usage

See original GitHub issue

Describe 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

  1. Set up Jenkins Github App
  2. No event subscriptions are needed as this occurs even when nothing is selected
  3. Start creating a new Github App Credential in jenkins
  4. Once all the fields are set hit Test to test the connection
  5. 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:closed
  • Created 2 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
philippebailercommented, Sep 24, 2021

Yes its working and we are unblocked! Thanks @bitwiseman for helping us get through this quickly and closing my PR

0reactions
bitwisemancommented, Sep 24, 2021

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!

Read more comments on GitHub >

github_iconTop 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 >
Git - Jenkins Plugins
This plugin integrates Git with Jenkins.
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found