{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/envinject-plugin/issues/36","labels_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/issues/36/comments","events_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/issues/36/events","html_url":"https://github.com/jenkinsci/envinject-plugin/pull/36","id":46320976,"number":36,"title":"JENKINS-25223: Allow executing scripts in JobProperty.prebuild phase","user":{"login":"arcivanov","id":5355666,"avatar_url":"https://avatars.githubusercontent.com/u/5355666?v=3","gravatar_id":"","url":"https://api.github.com/users/arcivanov","html_url":"https://github.com/arcivanov","followers_url":"https://api.github.com/users/arcivanov/followers","following_url":"https://api.github.com/users/arcivanov/following{/other_user}","gists_url":"https://api.github.com/users/arcivanov/gists{/gist_id}","starred_url":"https://api.github.com/users/arcivanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcivanov/subscriptions","organizations_url":"https://api.github.com/users/arcivanov/orgs","repos_url":"https://api.github.com/users/arcivanov/repos","events_url":"https://api.github.com/users/arcivanov/events{/privacy}","received_events_url":"https://api.github.com/users/arcivanov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2014-10-20T20:23:31Z","updated_at":"2015-08-13T07:58:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jenkinsci/envinject-plugin/pulls/36","html_url":"https://github.com/jenkinsci/envinject-plugin/pull/36","diff_url":"https://github.com/jenkinsci/envinject-plugin/pull/36.diff","patch_url":"https://github.com/jenkinsci/envinject-plugin/pull/36.patch"},"body":"Creates the \"prebuild\" phase JobProperty section, allowing scripts to be executed after SCM is completed but before AbstractBuildExecution.doRun kicks in.\r\nAlso fixes NPE in EnvInjectJobProperty where disabling a section and saving before applying causes NPE on save"},"comment":{"url":"https://api.github.com/repos/jenkinsci/envinject-plugin/issues/comments/130568785","html_url":"https://github.com/jenkinsci/envinject-plugin/pull/36#issuecomment-130568785","issue_url":"https://api.github.com/repos/jenkinsci/envinject-plugin/issues/36","id":130568785,"user":{"login":"oleg-nenashev","id":3000480,"avatar_url":"https://avatars.githubusercontent.com/u/3000480?v=3","gravatar_id":"","url":"https://api.github.com/users/oleg-nenashev","html_url":"https://github.com/oleg-nenashev","followers_url":"https://api.github.com/users/oleg-nenashev/followers","following_url":"https://api.github.com/users/oleg-nenashev/following{/other_user}","gists_url":"https://api.github.com/users/oleg-nenashev/gists{/gist_id}","starred_url":"https://api.github.com/users/oleg-nenashev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oleg-nenashev/subscriptions","organizations_url":"https://api.github.com/users/oleg-nenashev/orgs","repos_url":"https://api.github.com/users/oleg-nenashev/repos","events_url":"https://api.github.com/users/oleg-nenashev/events{/privacy}","received_events_url":"https://api.github.com/users/oleg-nenashev/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T07:58:21Z","updated_at":"2015-08-13T07:58:21Z","body":"I'd like to get this feature merged. BTW, a combination of EnvInject build step and https://wiki.jenkins-ci.org/display/JENKINS/pre-scm-buildstep seems to provide this feature."}}