nemccarthy / stash-pullrequest-builder-plugin

A Jenkins plugin for Building Stash Pull Requests
https://wiki.jenkins-ci.org/display/JENKINS/Stash+pullrequest+builder+plugin
Other
64 stars 130 forks source link

Bitbucket Pull Request does not pass parameters listed in stash-pullrequest-builder plugin version 1.7.0 to jenkins version 2.46 #146

Closed aakshih closed 3 years ago

aakshih commented 6 years ago

When a pull request is created in bitbucket jenkins version 2.46 build does not get triggered. PullrequestID and other parameters are not passed from bitbucket pull request to Jenkins job. I see in log below Exception.

Jul 16, 2018 10:50:00 AM org.apache.commons.httpclient.HttpMethodDirector processWWWAuthChallenge INFO: Failure authenticating with BASIC 'Atlassian Bitbucket'@bitbucketdc.***.net:443 Jul 16, 2018 10:50:00 AM stashpullrequestbuilder.stashpullrequestbuilder.stash.StashApiClient$1 call SEVERE: Failing to get response from Stash PR GET/rest/api/1.0/projects/SCPPAR/repos/asset-record/pull-requests java.util.concurrent.ExecutionException: java.lang.RuntimeException: Didn't get a 200 response from Stash PR GET! Response; 'Unauthorized' with message; null

Let me know how to fix this.

nemccarthy commented 3 years ago

Please raise an issue here; https://issues.jenkins.io/browse/JENKINS-63802?jql=project%20%3D%20JENKINS%20AND%20component%20%3D%20stash-pullrequest-builder-plugin

Offical repo is here; Please raise PRs here https://github.com/jenkinsci/stash-pullrequest-builder-plugin