Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-63468

Bitbucket plugin unable to parse push/test connection bitbucket webhook json payload

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: bitbucket-plugin
    • Labels:
      None
    • Environment:
      Jenkins 2.238
      Bitbucket plugin 1.1.11 & 1.1.20
    • Similar Issues:
    • Released As:
      1.1.25

      Description

      Recently, we upgraded Bitbucket server 5.13 to 7.4.1. All automated Bitbucket webhooks jobs stopped triggering. Surprisingly, we are getting below exception in Jenkins logs.

      net.sf.json.JSONException: JSONObject["user"] not found.

              at net.sf.json.JSONObject.getString(JSONObject.java:2040)

              at com.cloudbees.jenkins.plugins.BitbucketPayloadProcessor.processPostServicePayload(BitbucketPayloadProcessor.java:178)

              at com.cloudbees.jenkins.plugins.BitbucketPayloadProcessor.processPayload(BitbucketPayloadProcessor.java:42)

              at com.cloudbees.jenkins.plugins.BitbucketHookReceiver.doIndex(BitbucketHookReceiver.java:54)

              at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)

      So we upgraded Bitbucket plugin with 1.1.20 but still getting same issue in Jenkins.

        Attachments

          Activity

          ckmca Chandan Kumar created issue -
          ckmca Chandan Kumar made changes -
          Field Original Value New Value
          Assignee Tzach Solomon [ tzach_solomon ]
          ckmca Chandan Kumar made changes -
          Attachment image-2020-09-01-14-51-51-969.png [ 52486 ]
          ckmca Chandan Kumar made changes -
          Attachment image-2020-09-01-14-55-54-259.png [ 52487 ]
          tzach_solomon Tzach Solomon made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          tzach_solomon Tzach Solomon made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          tzach_solomon Tzach Solomon made changes -
          Released As 1.1.25
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
          tzach_solomon Tzach Solomon made changes -
          Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]
          tzach_solomon Tzach Solomon made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          ckmca Chandan Kumar made changes -
          Attachment image-2020-09-09-21-51-43-874.png [ 52567 ]
          tzach_solomon Tzach Solomon made changes -
          Attachment image-2020-09-09-20-37-42-623.png [ 52568 ]

            People

            Assignee:
            tzach_solomon Tzach Solomon
            Reporter:
            ckmca Chandan Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: