{"action":"created","issue":{"url":"https://api.github.com/repos/timols/jenkins-gitlab-merge-request-builder-plugin/issues/159","labels_url":"https://api.github.com/repos/timols/jenkins-gitlab-merge-request-builder-plugin/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/timols/jenkins-gitlab-merge-request-builder-plugin/issues/159/comments","events_url":"https://api.github.com/repos/timols/jenkins-gitlab-merge-request-builder-plugin/issues/159/events","html_url":"https://github.com/timols/jenkins-gitlab-merge-request-builder-plugin/issues/159","id":121077399,"number":159,"title":"Jenkins job doesn't start when merge request is submitted in Gitlab","user":{"login":"amimas","id":16211767,"avatar_url":"https://avatars.githubusercontent.com/u/16211767?v=3","gravatar_id":"","url":"https://api.github.com/users/amimas","html_url":"https://github.com/amimas","followers_url":"https://api.github.com/users/amimas/followers","following_url":"https://api.github.com/users/amimas/following{/other_user}","gists_url":"https://api.github.com/users/amimas/gists{/gist_id}","starred_url":"https://api.github.com/users/amimas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amimas/subscriptions","organizations_url":"https://api.github.com/users/amimas/orgs","repos_url":"https://api.github.com/users/amimas/repos","events_url":"https://api.github.com/users/amimas/events{/privacy}","received_events_url":"https://api.github.com/users/amimas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-08T19:11:00Z","updated_at":"2015-12-15T11:03:22Z","closed_at":null,"body":"Hello,\r\n\r\nI'm trying to use this merge request builder plugin, however it's not working out. I believe I've followed the instructions on ReadMe file properly, but it's still not working. That's why I'm writing to check where I've made mistakes.\r\n\r\nFirst, here are the version number of the systems/plugins I'm working with.\r\n\r\nGitLab: 8.2.2\r\nJenkins: 1.638\r\nJenkins Plugins:\r\n   Git plugin: 2.4.0\r\n   GitLab Merge Request Builder: 1.2.4\r\n\r\nI've cofigured the Jenkins job according to the instructions, and the GitLab web-hook is setup to kick in upon push and merge request sbumit event. But when I create a merge request in GitLab, nothing happens on Jenkins side. I've waited for the scheduled time set by crontab field, but still no build kicks in.\r\n\r\nHow are the values of ${gitlabSourceRepository} and other variables being passed from GitLab? Is this  supposed be in the web-hook that is supposed to kick in? I'm a newbie to this region. Apologize if I've overlooked some things already. Appreciate your help. If you need any more info, please let me know.\r\n\r\nThanks,"},"comment":{"url":"https://api.github.com/repos/timols/jenkins-gitlab-merge-request-builder-plugin/issues/comments/164729342","html_url":"https://github.com/timols/jenkins-gitlab-merge-request-builder-plugin/issues/159#issuecomment-164729342","issue_url":"https://api.github.com/repos/timols/jenkins-gitlab-merge-request-builder-plugin/issues/159","id":164729342,"user":{"login":"NeuralSandwich","id":1002582,"avatar_url":"https://avatars.githubusercontent.com/u/1002582?v=3","gravatar_id":"","url":"https://api.github.com/users/NeuralSandwich","html_url":"https://github.com/NeuralSandwich","followers_url":"https://api.github.com/users/NeuralSandwich/followers","following_url":"https://api.github.com/users/NeuralSandwich/following{/other_user}","gists_url":"https://api.github.com/users/NeuralSandwich/gists{/gist_id}","starred_url":"https://api.github.com/users/NeuralSandwich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NeuralSandwich/subscriptions","organizations_url":"https://api.github.com/users/NeuralSandwich/orgs","repos_url":"https://api.github.com/users/NeuralSandwich/repos","events_url":"https://api.github.com/users/NeuralSandwich/events{/privacy}","received_events_url":"https://api.github.com/users/NeuralSandwich/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T11:03:22Z","updated_at":"2015-12-15T11:03:22Z","body":"| Software                     | Working |  Not Working |\r\n|------------------------------|---------|--------------|\r\n| GitLab                       |    7.12 |        8.2.2 |\r\n| Jenkins                      | 1.609.2 |      1.625.2 |\r\n| Git Plugin                   |   2.4.0 |        2.4.0 |\r\n| GitLab Merge Request Builder |   1.2.2 | 1.2.2, 1.2.4 |\r\n\r\nI started experiencing this issue after I updated both Jenkins and GitLab.\r\n\r\nI unfortunately cannot roll back either my Jenkins or GitLab instances to determine which change caused the issue.\r\n\r\nThe only relevant error I can see is from the BuildTrigger. I am happy to provide more logs and information.\r\n\r\n```\r\norg.jenkinsci.plugins.gitlab.GitlabBuildTrigger.run() failed for com.cloudbees.plugins.flow.BuildFlow@2984066c[foo-build-job]\r\njava.lang.NullPointerException\r\n\tat org.jenkinsci.plugins.gitlab.GitlabBuildTrigger.run(GitlabBuildTrigger.java:100)\r\n\tat hudson.triggers.Trigger.checkTriggers(Trigger.java:268)\r\n\tat hudson.triggers.Trigger$Cron.doRun(Trigger.java:217)\r\n\tat hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:51)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)\r\n\tat java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n```"}}