{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/artifact-promotion-plugin/issues/7","labels_url":"https://api.github.com/repos/jenkinsci/artifact-promotion-plugin/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/artifact-promotion-plugin/issues/7/comments","events_url":"https://api.github.com/repos/jenkinsci/artifact-promotion-plugin/issues/7/events","html_url":"https://github.com/jenkinsci/artifact-promotion-plugin/pull/7","id":102129507,"number":7,"title":"Implement optional extension point of JobDSL plugin","user":{"login":"patrickschlebusch","id":13866994,"avatar_url":"https://avatars.githubusercontent.com/u/13866994?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickschlebusch","html_url":"https://github.com/patrickschlebusch","followers_url":"https://api.github.com/users/patrickschlebusch/followers","following_url":"https://api.github.com/users/patrickschlebusch/following{/other_user}","gists_url":"https://api.github.com/users/patrickschlebusch/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickschlebusch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickschlebusch/subscriptions","organizations_url":"https://api.github.com/users/patrickschlebusch/orgs","repos_url":"https://api.github.com/users/patrickschlebusch/repos","events_url":"https://api.github.com/users/patrickschlebusch/events{/privacy}","received_events_url":"https://api.github.com/users/patrickschlebusch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-20T12:41:41Z","updated_at":"2015-08-20T18:00:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/artifact-promotion-plugin/pulls/7","html_url":"https://github.com/jenkinsci/artifact-promotion-plugin/pull/7","diff_url":"https://github.com/jenkinsci/artifact-promotion-plugin/pull/7.diff","patch_url":"https://github.com/jenkinsci/artifact-promotion-plugin/pull/7.patch"},"body":"Add an extension point implementation to add support for the artifact\r\npromotion plugin to the DSL of the JobDsl plugin.\r\n\r\nWith this change, artifact promotion build steps can be created in Job DSL scripts like this:\r\n```\r\njob('example') {\r\n    steps {\r\n        // assumes default repo system (NexusOSS)\r\n        artifactPromotion {\r\n          groupId(\"com.example.test\")\r\n          artifactId(\"my-artifact\")\r\n          version(\"1.0.0\")\r\n          extension(\"zip\")\r\n          stagingRepository(\"http://nexus.myorg.com:8080/content/repositories/release-candidates\", \"foo\", \"s3cr3t\")\r\n          releaseRepository(\"http://nexus.myorg.com:8080/content/repositories/releases\", \"foo\", \"s3cr3t\")\r\n        }\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/jenkinsci/artifact-promotion-plugin/issues/comments/133099334","html_url":"https://github.com/jenkinsci/artifact-promotion-plugin/pull/7#issuecomment-133099334","issue_url":"https://api.github.com/repos/jenkinsci/artifact-promotion-plugin/issues/7","id":133099334,"user":{"login":"jenkinsadmin","id":874715,"avatar_url":"https://avatars.githubusercontent.com/u/874715?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsadmin","html_url":"https://github.com/jenkinsadmin","followers_url":"https://api.github.com/users/jenkinsadmin/followers","following_url":"https://api.github.com/users/jenkinsadmin/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsadmin/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsadmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsadmin/subscriptions","organizations_url":"https://api.github.com/users/jenkinsadmin/orgs","repos_url":"https://api.github.com/users/jenkinsadmin/repos","events_url":"https://api.github.com/users/jenkinsadmin/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsadmin/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T18:00:52Z","updated_at":"2015-08-20T18:00:52Z","body":"Thank you for a pull request! Please check [this document](http://jenkins-ci.org/pull-request-greeting) for how the Jenkins project handles pull requests"}}