amuniz / bitbucket-branch-source-plugin

5 stars 2 forks source link

Added a warning message for issue #2 #3

Closed ctataryn closed 5 years ago

ctataryn commented 7 years ago

Bitbucket API requests that contain a url field in the POST body will fail if you have not configured your Jenkins URL for your instance. It seems as though Bitbucket tries to do some validation on the URL and when it finds http://unconfigured-jenkins-location/... in the url field it returns:

This response was received:{"error": {"fields": {"url": ["Enter a valid URL."]}, "message": "Bad request"}}