{"action":"created","issue":{"url":"https://api.github.com/repos/edx/jenkins-job-dsl/issues/11","repository_url":"https://api.github.com/repos/edx/jenkins-job-dsl","labels_url":"https://api.github.com/repos/edx/jenkins-job-dsl/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/edx/jenkins-job-dsl/issues/11/comments","events_url":"https://api.github.com/repos/edx/jenkins-job-dsl/issues/11/events","html_url":"https://github.com/edx/jenkins-job-dsl/pull/11","id":161532742,"number":11,"title":"Estute/dsl test poc","user":{"login":"estute","id":9300884,"avatar_url":"https://avatars.githubusercontent.com/u/9300884?v=3","gravatar_id":"","url":"https://api.github.com/users/estute","html_url":"https://github.com/estute","followers_url":"https://api.github.com/users/estute/followers","following_url":"https://api.github.com/users/estute/following{/other_user}","gists_url":"https://api.github.com/users/estute/gists{/gist_id}","starred_url":"https://api.github.com/users/estute/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estute/subscriptions","organizations_url":"https://api.github.com/users/estute/orgs","repos_url":"https://api.github.com/users/estute/repos","events_url":"https://api.github.com/users/estute/events{/privacy}","received_events_url":"https://api.github.com/users/estute/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-21T20:33:27Z","updated_at":"2016-06-23T01:23:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/jenkins-job-dsl/pulls/11","html_url":"https://github.com/edx/jenkins-job-dsl/pull/11","diff_url":"https://github.com/edx/jenkins-job-dsl/pull/11.diff","patch_url":"https://github.com/edx/jenkins-job-dsl/pull/11.patch"},"body":"@jzoldak @aphanse poc for using the spock test framework for testing our dsl scripts.\r\n\r\nI moved everything in shared/src down a level to src, just to make gradle easier to deal with.\r\n\r\nimportant part here is src/test/groovy/SampleJobSpec.groovy\r\n\r\nCouple of things I still want to iron out (later PR/jira):\r\n* Add a cleanup method for each test (but need to figure out how to destroy the jenkins instance/remove created content)\r\n* Fix build dependency for our dsls when we want to generate XML on the fly. Basically, you can say \"./gradlew debugXml -D<somePath> and it will generate the XML config file so that you can eyeball it for a sanity check. However, due to us using secrets, there are some issues. However, this is not the main goal of the test framework.\r\n* Possibly condense repetetive tasks into a closure for the tests\r\n"},"comment":{"url":"https://api.github.com/repos/edx/jenkins-job-dsl/issues/comments/227924773","html_url":"https://github.com/edx/jenkins-job-dsl/pull/11#issuecomment-227924773","issue_url":"https://api.github.com/repos/edx/jenkins-job-dsl/issues/11","id":227924773,"user":{"login":"benpatterson","id":2004678,"avatar_url":"https://avatars.githubusercontent.com/u/2004678?v=3","gravatar_id":"","url":"https://api.github.com/users/benpatterson","html_url":"https://github.com/benpatterson","followers_url":"https://api.github.com/users/benpatterson/followers","following_url":"https://api.github.com/users/benpatterson/following{/other_user}","gists_url":"https://api.github.com/users/benpatterson/gists{/gist_id}","starred_url":"https://api.github.com/users/benpatterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benpatterson/subscriptions","organizations_url":"https://api.github.com/users/benpatterson/orgs","repos_url":"https://api.github.com/users/benpatterson/repos","events_url":"https://api.github.com/users/benpatterson/events{/privacy}","received_events_url":"https://api.github.com/users/benpatterson/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T01:23:22Z","updated_at":"2016-06-23T01:23:22Z","body":"Done with my pass. I was also wondering if your example could show us a spock data table? That's a useful pattern that folks new to the repo may want to know about."}}
{"actor":{"display_login":"benpatterson"}}