jenkinsci / bitbucket-push-and-pull-request-plugin

Plugin for Jenkins v2.138.2 or later, that triggers job builds on Bitbucket's push and pull request events.

Home Page:https://plugins.jenkins.io/bitbucket-push-and-pull-request

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bitbucket Pull Request Link is broken

alifiroozi80 opened this issue · comments

commented

Hello everyone
As you know, there is an Environment Variable called BITBUCKET_PULL_REQUEST_LINK that returns the PR URL on Bitbucket.
It returns the URL like this:

https://bitbucket.org/ORG/REPO/pullrequests/75

but, this is not the valid URL and bitbucket is going to return 404 on bitbucket

However, if you add - to the pullrequests, it's going to work:

https://bitbucket.org/ORG/REPO/pull-requests/75

Environment:

Jenkins: 2.414.2
Plugin: 2.8.4

Tasks

No tasks being tracked yet.