{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/813","repository_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin","labels_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/813/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/813/comments","events_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/813/events","html_url":"https://github.com/jenkinsci/gitlab-plugin/issues/813","id":344171334,"node_id":"MDU6SXNzdWUzNDQxNzEzMzQ=","number":813,"title":"1.5.9 breaks `gitlabCommitStatus(name)` usage","user":{"login":"crussell52","id":375294,"node_id":"MDQ6VXNlcjM3NTI5NA==","avatar_url":"https://avatars0.githubusercontent.com/u/375294?v=4","gravatar_id":"","url":"https://api.github.com/users/crussell52","html_url":"https://github.com/crussell52","followers_url":"https://api.github.com/users/crussell52/followers","following_url":"https://api.github.com/users/crussell52/following{/other_user}","gists_url":"https://api.github.com/users/crussell52/gists{/gist_id}","starred_url":"https://api.github.com/users/crussell52/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crussell52/subscriptions","organizations_url":"https://api.github.com/users/crussell52/orgs","repos_url":"https://api.github.com/users/crussell52/repos","events_url":"https://api.github.com/users/crussell52/events{/privacy}","received_events_url":"https://api.github.com/users/crussell52/received_events","type":"User","site_admin":false},"labels":[{"id":100986265,"node_id":"MDU6TGFiZWwxMDA5ODYyNjU=","url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-07-24T19:26:20Z","updated_at":"2018-08-10T07:15:40Z","closed_at":null,"author_association":"NONE","body":"Edit: Removed \"Before submitting...\" paragraph\r\n## Issue\r\n\r\n### Context\r\n- **Gitlab plugin version**: 1.5.9\r\n- **Gitlab version**: 9.5.4\r\n- **Jenkins version**: 2.134\r\n- **Job type**: Pipeline\r\n\r\n### Logs & Traces\r\n`Jenkinsfile`\r\n```\r\ngitlabBuilds(builds: ['Compile', 'Test', 'Package']) {\r\n  node {\r\n    ...\r\n    stage(\"Compile\") {\r\n      gitlabCommitStatus(\"Compile\") {\r\n      ...\r\n      }\r\n  ...\r\n  }\r\n  ...\r\n}\r\n```\r\n\r\n`Console Output`\r\n```\r\njava.lang.IllegalArgumentException: Expected named arguments but got Compile\r\n\tat org.jenkinsci.plugins.workflow.cps.DSL.singleParam(DSL.java:542)\r\n\tat org.jenkinsci.plugins.workflow.cps.DSL.parseArgs(DSL.java:530)\r\n\tat org.jenkinsci.plugins.workflow.cps.DSL.parseArgs(DSL.java:470)\r\n\tat org.jenkinsci.plugins.workflow.cps.DSL.invokeStep(DSL.java:183)\r\n\tat org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:153)\r\n       ...\r\n```\r\n\r\n### Problem description\r\n\r\n_Describe your problem in a meaningful way_:\r\n\r\nBuilds fail with above stack under 1.5.9. \r\nRolling back to 1.5.8 fixes the problem\r\n\r\nMight be related to: https://github.com/jenkinsci/gitlab-plugin/commit/799e43326530eb7f8cca569774ea2a4504c72a3c"},"comment":{"url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/comments/411997243","html_url":"https://github.com/jenkinsci/gitlab-plugin/issues/813#issuecomment-411997243","issue_url":"https://api.github.com/repos/jenkinsci/gitlab-plugin/issues/813","id":411997243,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTk5NzI0Mw==","user":{"login":"omehegan","id":1775894,"node_id":"MDQ6VXNlcjE3NzU4OTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1775894?v=4","gravatar_id":"","url":"https://api.github.com/users/omehegan","html_url":"https://github.com/omehegan","followers_url":"https://api.github.com/users/omehegan/followers","following_url":"https://api.github.com/users/omehegan/following{/other_user}","gists_url":"https://api.github.com/users/omehegan/gists{/gist_id}","starred_url":"https://api.github.com/users/omehegan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omehegan/subscriptions","organizations_url":"https://api.github.com/users/omehegan/orgs","repos_url":"https://api.github.com/users/omehegan/repos","events_url":"https://api.github.com/users/omehegan/events{/privacy}","received_events_url":"https://api.github.com/users/omehegan/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T07:15:40Z","updated_at":"2018-08-10T07:15:40Z","author_association":"MEMBER","body":"@stchar thanks for working on it, if you need help with that area of the code (Stapler etc.) I would suggest posting on the https://groups.google.com/forum/#!forum/jenkinsci-dev mailing list."}}
{"actor":{"display_login":"omehegan"}}