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

bitbucket-plugin not recognising self-hosted repo from trigger payload in multi-branch pipelines

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Fixed but Unreleased (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: bitbucket-plugin
    • Labels:
      None
    • Environment:
      Jenkins: 2.277.4
      bitbucket-plugin: 1.1.27

      Job type: multi-branch pipeline
    • Similar Issues:
    • Released As:
      1.1.28

      Description

      Summary: the Bitbucket plugin is not triggering builds when receiving the Git push payload from Bitbucket server.

      Details:

      When a payload is received the following is logged (I set this message to INFO):

      2021-05-17 05:44:22.687+0000 [id=12]    INFO    c.c.j.plugins.BitbucketJobProbe#triggerMatchingJobs: SCM [example] doesn't match remote repo [prj/example]
      

      Firstly there appears to be no config option to override the Bitbucket push URL in a multi-branch pipeline job (at least not in the UI). The single branch pipeline does seem to have such an option.

      Now the Bitbucket Server "project" key is set in the job configuration and it then lists the actual repository just fine. But no matter what I try I can't get the Bitbucket plugin to "see" the repo as "prj/example" OR get the SCM configuration to use "prj/example".

      The project key setting is present in the job config but I don't see a way to make the SCM source combine it to be "prj/example".

        Attachments

          Activity

          ftclausen Friedrich Clausen created issue -
          tzach_solomon Tzach Solomon made changes -
          Field Original Value New Value
          Assignee Tzach Solomon [ tzach_solomon ]
          tzach_solomon Tzach Solomon made changes -
          Released As 1.1.28
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
          ftclausen Friedrich Clausen made changes -
          tzach_solomon Tzach Solomon made changes -
          Attachment image-2021-05-27-10-15-52-099.png [ 54883 ]

            People

            Assignee:
            tzach_solomon Tzach Solomon
            Reporter:
            ftclausen Friedrich Clausen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: