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

bitbucket-webhooks Plugin wrong url

    XMLWordPrintable

    Details

    • Similar Issues:
    • Released As:
      1.1.21

      Description

      I've created a Post Webhook in our bitbucket server to our jenkins server. At jenkins side I installed the Bitbucket plugin and checked "Build when a change is pushed to BitBucket".

      So now if I push sth to my Bitbucket repo, jenkins receives the payload and checks if a job matches. But it has an invalid url so the match will never work:

      Received Payload:

      Received commit hook notification : {"actor":{"username":"ck","displayName":"ck"},"repository":{"scmId":"git","project":{"key":"test","name":"test"},"slug":"testapp","links":{"self":[{"href":"http://localhost:7990/projects/test/repos/testapp/browse"}]},"public":false,"owner":{"username":"test","displayName":"test"},"fullName":"test/testapp","ownerName":"test"},"push":{"changes":[{"created":false,"closed":false,"new":{"type":"branch","name":"test/jenkins","target":{"type":"commit","hash":"81e2f7cf535bf7f5e5f52e98d0d42d8963fda9f8"}},"old":{"type":"branch","name":"test/jenkins","target":{"type":"commit","hash":"e092da2450432dd51f9145dbeb64f5229e04c46b"}}}]}}
      
      Nov 27, 2018 7:54:18 AM FINE com.cloudbees.jenkins.plugins.BitbucketJobProbe
      Trying to match ssh://git@someBitbucket:7999/proj/testapp.git<-->http://localhost:7990/proj/testapp
      

        Attachments

          Activity

          Hide
          tzach_solomon Tzach Solomon added a comment -

          Already solved in 1.1.21

          Show
          tzach_solomon Tzach Solomon added a comment - Already solved in 1.1.21
          Hide
          tzach_solomon Tzach Solomon added a comment -

          See "Override Repository URL" at https://plugins.jenkins.io/bitbucket/

          Show
          tzach_solomon Tzach Solomon added a comment - See "Override Repository URL" at https://plugins.jenkins.io/bitbucket/

            People

            Assignee:
            tzach_solomon Tzach Solomon
            Reporter:
            sikay25 Christoph Kellermeier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: