gpt4 book ai didi

Github Pull Request Builder - 无法触发构建并且无法在 github 提交上设置构建状态

转载 作者:行者123 更新时间:2023-12-03 03:14:54 34 4
gpt4 key购买 nike

我正在使用GitHub pull request builder plugin设置每个拉取请求的构建。

但是,任何新的拉取请求或拉取请求的新提交都不会触发此构建。 Jenkins 日志上几乎没有异常(exception)。根据这些日志我不知道出了什么问题。

提前致谢。

Sep 22, 2014 12:10:52 AM SEVERE org.jenkinsci.plugins.ghprb.GhprbTrigger getBuilds
The ghprb trigger for keeper-pull-request wasn't properly started - helper is null
Sep 22, 2014 12:10:52 AM WARNING hudson.model.listeners.RunListener report
RunListener failed
java.lang.NullPointerException
at org.jenkinsci.plugins.ghprb.GhprbBuildListener.onStarted(GhprbBuildListener.java:19)
at org.jenkinsci.plugins.ghprb.GhprbBuildListener.onStarted(GhprbBuildListener.java:12)
at hudson.model.listeners.RunListener.fireStarted(RunListener.java:213)
at hudson.model.Run.execute(Run.java:1702)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:232)

Sep 22, 2014 12:10:54 AM INFO jenkins.plugin.assembla.AssemblaProjectProperty$DescriptorImpl getSites
Called getSites size=0
Sep 22, 2014 12:11:00 AM WARNING hudson.triggers.Trigger checkTriggers
org.jenkinsci.plugins.ghprb.GhprbTrigger.run() failed for hudson.model.FreeStyleProject@17c57009[keeper-pull-request]
java.lang.NullPointerException
at org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:140)
at hudson.triggers.Trigger.checkTriggers(Trigger.java:266)
at hudson.triggers.Trigger$Cron.doRun(Trigger.java:214)
at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)

最佳答案

最后,问题是我没有在作业配置中设置Github项目字段。

配置该字段后,一切正常。

关于Github Pull Request Builder - 无法触发构建并且无法在 github 提交上设置构建状态,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25965190/

34 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com