Bitbucket PR构建工作未被触发

时间:2018-05-29 07:13:00

标签: jenkins bitbucket

詹金斯版本:2.107.2 Bitbucket PR builder插件版本:1.4.26

我正在尝试设置一个Bitbucket PR buider,但是当创建一个新的PR时,我的Job不会被触发,或者当在open PR中更新评论“test this please”时。这是我的配置:

enter image description here

我在jenkins logs @ /var/log/jenkins/jenkins.log中看到了一个N​​ullPointerException。

May 27, 2018 4:34:59 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Started PersistentMaster-Worker
May 27, 2018 4:34:59 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Finished PersistentMaster-Worker. 0 ms
May 27, 2018 4:35:01 PM bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.bitbucket.ApiClient getAllValues
WARNING: invalid response.
java.lang.NullPointerException
at java.util.ArrayList.addAll(ArrayList.java:581)
at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.bitbucket.ApiClient.getAllValues(ApiClient.java:207)
at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.bitbucket.ApiClient.getPullRequests(ApiClient.java:105)
at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketRepository.getTargetPullRequests(BitbucketRepository.java:94)
at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketPullRequestsBuilder.run(BitbucketPullRequestsBuilder.java:37)
at bitbucketpullrequestbuilder.bitbucketpullrequestbuilder.BitbucketBuildTrigger.run(BitbucketBuildTrigger.java:292)
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:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

非常感谢任何帮助。让我知道我在这里失踪了什么。

0 个答案:

没有答案