-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Minor
-
Resolution: Unresolved
-
Component/s: bitbucket-plugin
-
Labels:None
-
Similar Issues:
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
Field | Original Value | New Value |
---|---|---|
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: {code:java} 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"}}}]}} {code} {code:java} Nov 27, 2018 7:54:18 AM FINE com.cloudbees.jenkins.plugins.BitbucketJobProbe Trying to match ssh://git@someBitbucket:7999/proj/someRepo.git<-->http://localhost:7990/proj/someRepo {code} |
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: {code:java} 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"}}}]}} {code} {code:java} 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 {code} |