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

bitbucket pull request builder not working

XMLWordPrintable

      We have jenkins 2.72 (deployed into tomcat )and we installed Bitbucket pull request builder 1.4.26 and configured as per the following link https://github.com/nishio-dens/bitbucket-pullrequest-builder-plugin

      Now, after the configuration it is not running build using auto detection of PRs when I check the tomcat log I find some authetication error (Even though the user is good able to checkout in another job just this plugin is not working, )- Pls suggest

       

      05-Sep-2017 11:33:01.589 INFO jenkins.util.Timer [#1] bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketPullRequestsBuilder.run Build Start.
      05-Sep-2017 11:33:01.589 INFO jenkins.util.Timer [#1] bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketRepository.getTargetPullRequests Fetch PullRequests.
      05-Sep-2017 11:33:02.509 INFO jenkins.util.Timer [#1] org.apache.commons.httpclient.auth.AuthChallengeProcessor.selectAuthScheme basic authentication scheme selected
      05-Sep-2017 11:33:02.509 INFO jenkins.util.Timer [#1] org.apache.commons.httpclient.HttpMethodDirector.processWWWAuthChallenge Failure authenticating with BASIC 'Bitbucket.org HTTP'@bitbucket.org:443
      05-Sep-2017 11:33:02.509 WARNING jenkins.util.Timer [#1] bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.bitbucket.BitbucketApiClient.getPullRequests invalid pull request response.
      java.io.EOFException: No content to map to Object due to end of input
      at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2775)
      at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2718)
      at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1863)
      at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.bitbucket.BitbucketApiClient.parsePullRequestJson(BitbucketApiClient.java:156)
      at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.bitbucket.BitbucketApiClient.getPullRequests(BitbucketApiClient.java:42)
      at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketRepository.getTargetPullRequests(BitbucketRepository.java:53)
      at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketPullRequestsBuilder.run(BitbucketPullRequestsBuilder.java:30)
      at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketBuildTrigger.run(BitbucketBuildTrigger.java:145)
      at hudson.triggers.Trigger.checkTriggers(Trigger.java:278)
      at hudson.triggers.Trigger$Cron.doRun(Trigger.java:226)
      at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51)
      at jenkins.security.ImpersonatingScheduledExecutorService$1.run(ImpersonatingScheduledExecutorService.java:58)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:748)

            Unassigned Unassigned
            vishnudutt_yadav Vishnu Yadav
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: