{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/jenkins/issues/2374","repository_url":"https://api.github.com/repos/jenkinsci/jenkins","labels_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/2374/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/2374/comments","events_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/2374/events","html_url":"https://github.com/jenkinsci/jenkins/pull/2374","id":156843782,"number":2374,"title":"JENKINS-18349, JENKINS-15512,  Added Apache Ivy as a plugin to Jenkin…","user":{"login":"KrestenKjaer","id":7271814,"avatar_url":"https://avatars.githubusercontent.com/u/7271814?v=3","gravatar_id":"","url":"https://api.github.com/users/KrestenKjaer","html_url":"https://github.com/KrestenKjaer","followers_url":"https://api.github.com/users/KrestenKjaer/followers","following_url":"https://api.github.com/users/KrestenKjaer/following{/other_user}","gists_url":"https://api.github.com/users/KrestenKjaer/gists{/gist_id}","starred_url":"https://api.github.com/users/KrestenKjaer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrestenKjaer/subscriptions","organizations_url":"https://api.github.com/users/KrestenKjaer/orgs","repos_url":"https://api.github.com/users/KrestenKjaer/repos","events_url":"https://api.github.com/users/KrestenKjaer/events{/privacy}","received_events_url":"https://api.github.com/users/KrestenKjaer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jenkinsci/jenkins/labels/needs-review","name":"needs-review","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-25T20:33:16Z","updated_at":"2016-05-26T14:17:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/jenkins/pulls/2374","html_url":"https://github.com/jenkinsci/jenkins/pull/2374","diff_url":"https://github.com/jenkinsci/jenkins/pull/2374.diff","patch_url":"https://github.com/jenkinsci/jenkins/pull/2374.patch"},"body":"Adding Ivy as a dependency to Jenkins Core will allow @Grab annotations (part of core groovy) to work in the Jenkins Script console.\r\n\r\nExample:\r\n```\r\n@Grab(group='org.codehaus.groovy.modules.http-builder', module='http-builder', version='0.7' )\r\ndef http = new groovyx.net.http.HTTPBuilder('http://www.codehaus.org')\r\nprintln http\r\n```\r\n\r\nBefore:\r\n\r\n> java.lang.NoClassDefFoundError: org/apache/ivy/core/settings/IvySettings\r\n> \tat java.lang.Class.getDeclaredMethods0(Native Method)\r\n> \tat java.lang.Class.privateGetDeclaredMethods(Class.java:2701)\r\n> \tat java.lang.Class.privateGetPublicMethods(Class.java:2902)\r\n> \tat java.lang.Class.getMethods(Class.java:1615)\r\n> \tat java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:1336)\r\n> \tat java.beans.Introspector.getTargetMethodInfo(Introspector.java:1197)\r\n\r\nAfter:\r\n\r\n> groovyx.net.http.HTTPBuilder@9cebc79\r\n"},"comment":{"url":"https://api.github.com/repos/jenkinsci/jenkins/issues/comments/221883949","html_url":"https://github.com/jenkinsci/jenkins/pull/2374#issuecomment-221883949","issue_url":"https://api.github.com/repos/jenkinsci/jenkins/issues/2374","id":221883949,"user":{"login":"KrestenKjaer","id":7271814,"avatar_url":"https://avatars.githubusercontent.com/u/7271814?v=3","gravatar_id":"","url":"https://api.github.com/users/KrestenKjaer","html_url":"https://github.com/KrestenKjaer","followers_url":"https://api.github.com/users/KrestenKjaer/followers","following_url":"https://api.github.com/users/KrestenKjaer/following{/other_user}","gists_url":"https://api.github.com/users/KrestenKjaer/gists{/gist_id}","starred_url":"https://api.github.com/users/KrestenKjaer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrestenKjaer/subscriptions","organizations_url":"https://api.github.com/users/KrestenKjaer/orgs","repos_url":"https://api.github.com/users/KrestenKjaer/repos","events_url":"https://api.github.com/users/KrestenKjaer/events{/privacy}","received_events_url":"https://api.github.com/users/KrestenKjaer/received_events","type":"User","site_admin":false},"created_at":"2016-05-26T14:17:56Z","updated_at":"2016-05-26T14:17:56Z","body":"@olivergondza It _should_ affect stuff outside of the shell. Grapes is part of groovy, so this will add support wherever groovy is used for scripting. \r\n\r\nThe groovy support as of right now is broken, and there are a lot of issues relating to grapes. Try searching for @grab in the issue tracker:\r\nhttps://issues.jenkins-ci.org/browse/JENKINS-26192?jql=text%20~%20%22grape%22\r\n\r\nAll of the tests were successful.\r\n"}}
{"actor":{"display_login":"KrestenKjaer"}}