{"action":"created","issue":{"url":"https://api.github.com/repos/elvanja/jenkins-gitlab-hook-plugin/issues/61","labels_url":"https://api.github.com/repos/elvanja/jenkins-gitlab-hook-plugin/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/elvanja/jenkins-gitlab-hook-plugin/issues/61/comments","events_url":"https://api.github.com/repos/elvanja/jenkins-gitlab-hook-plugin/issues/61/events","html_url":"https://github.com/elvanja/jenkins-gitlab-hook-plugin/issues/61","id":96849601,"number":61,"title":"build_now hook not working on Jenkins 1.620 and Gitlab 7.8.2","user":{"login":"chrilehner90","id":1711080,"avatar_url":"https://avatars.githubusercontent.com/u/1711080?v=3","gravatar_id":"","url":"https://api.github.com/users/chrilehner90","html_url":"https://github.com/chrilehner90","followers_url":"https://api.github.com/users/chrilehner90/followers","following_url":"https://api.github.com/users/chrilehner90/following{/other_user}","gists_url":"https://api.github.com/users/chrilehner90/gists{/gist_id}","starred_url":"https://api.github.com/users/chrilehner90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrilehner90/subscriptions","organizations_url":"https://api.github.com/users/chrilehner90/orgs","repos_url":"https://api.github.com/users/chrilehner90/repos","events_url":"https://api.github.com/users/chrilehner90/events{/privacy}","received_events_url":"https://api.github.com/users/chrilehner90/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-23T16:14:03Z","updated_at":"2015-07-30T16:10:01Z","closed_at":null,"body":"Hi,\r\n\r\nI set up a Jenkins server and installed this plugin.\r\nThen I set up the build now hook with http://URL_to_server/gitlab/build_now and with the \"Push events\" option checked.\r\nIn Jenkins I didn't configure anything (except the build task), because I didn't see in your docs what I should configure.\r\nThe build task is not parameterized and the project is activated.\r\n\r\nWhen I call the hook URL in the browser I get the following, which should be correct when it's called without any payload:\r\n\r\n```\r\nrepo url could not be found in Gitlab payload or the HTTP parameters:\r\n- body: {}\r\n- parameters: {\r\n\r\n}\r\n```\r\n\r\nAny ideas what I'm doing wrong?\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/elvanja/jenkins-gitlab-hook-plugin/issues/comments/126385742","html_url":"https://github.com/elvanja/jenkins-gitlab-hook-plugin/issues/61#issuecomment-126385742","issue_url":"https://api.github.com/repos/elvanja/jenkins-gitlab-hook-plugin/issues/61","id":126385742,"user":{"login":"nacsa","id":9055629,"avatar_url":"https://avatars.githubusercontent.com/u/9055629?v=3","gravatar_id":"","url":"https://api.github.com/users/nacsa","html_url":"https://github.com/nacsa","followers_url":"https://api.github.com/users/nacsa/followers","following_url":"https://api.github.com/users/nacsa/following{/other_user}","gists_url":"https://api.github.com/users/nacsa/gists{/gist_id}","starred_url":"https://api.github.com/users/nacsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nacsa/subscriptions","organizations_url":"https://api.github.com/users/nacsa/orgs","repos_url":"https://api.github.com/users/nacsa/repos","events_url":"https://api.github.com/users/nacsa/events{/privacy}","received_events_url":"https://api.github.com/users/nacsa/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T16:10:01Z","updated_at":"2015-07-30T16:10:01Z","body":"Hi,\r\n\r\nIt would be nice if you could provide some log messages, about the hook event. It appears in the Jenkins logs on the webpage. \r\nThe plugin works the following way:\r\n\"It will then scan all Git projects in Jenkins and start the build for those that:\r\n* match url of the GitLab repo\r\n* match the configured refspec pattern if any\r\n* and match committed GitLab branch\"\r\n\r\nSo it searches through your projects and look for the matching git repositories used in them. If there is no matching, then no job will build. \r\n\r\nA bug i found in the plugin is that it only works with ssh URL-s, so if you try to connect to git repo with HTTP URL like \"http://gitlab-server/Group/Project.git\" it won't work, because they only matches the SSL URL.\r\n\r\nBTW:\r\nsee newer project here: https://github.com/jenkinsci/gitlab-hook-plugin\r\n\r\ncurrent issue tracker: http://issues.jenkins-ci.org/secure/IssueNavigator.jspa?mode=hide&reset=true&jqlQuery=project+%3D+JENKINS+AND+status+in+%28Open%2C+%22In+Progress%22%2C+Reopened%29+AND+component+%3D+%27gitlab-plugin%27"}}