-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: github-issues-plugin
-
Labels:None
-
Similar Issues:
When using the GitHub Issues Plugin with a multi-config project, a NullPointerException is thrown:
java.lang.NullPointerException
at org.jenkinsci.plugins.githubissues.GitHubIssueNotifier.getRepoForJob(GitHubIssueNotifier.java:58)
at org.jenkinsci.plugins.githubissues.GitHubIssueNotifier.perform(GitHubIssueNotifier.java:90)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
at hudson.model.Build$BuildExecution.post2(Build.java:185)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
at hudson.model.Run.execute(Run.java:1745)
at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:404)
Build step 'Create GitHub issue on failure' marked build as failure
Might be using GitHubProjectProperty incorrectly. Can look through code on GitHub to see how other plugins use it: https://github.com/search?q=getProperty%28GithubProjectProperty.class%29&type=Code&utf8=%E2%9C%93