Trying to configure a Freestyle project that will pull all the branches that are currently out for pull-request and run tests on them. I've gotten the script setup but I'm unable to publish the test results back to github, I've tried publishing comment, label using post-build action GitHub PR: commands and they continue to fail with the following error:
Note: I don't have webhooks configured for this project and dont plan on adding them either; and the jenkins server is hosted locally and using a reverse-iis-proxy to setup a custom domain for all users on the local server.
ERROR: Build step failed with exception java.lang.NullPointerException at org.jenkinsci.plugins.github.pullrequest.utils.JobHelper.getGhRepositoryFromPRTrigger(JobHelper.java:161) at org.jenkinsci.plugins.github.pullrequest.utils.JobHelper.getGhIssue(JobHelper.java:173) at org.jenkinsci.plugins.github.pullrequest.publishers.impl.GitHubPRLabelAddPublisher.perform(GitHubPRLabelAddPublisher.java:56) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690) at hudson.model.Build$BuildExecution.post2(Build.java:186) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635) at hudson.model.Run.execute(Run.java:1819) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Build step 'GitHub PR: add labels' marked build as failure
Aucun commentaire:
Enregistrer un commentaire