{"action":"opened","issue":{"url":"https://api.github.com/repos/dkowis/cucumber-jvm-groovy-example/issues/3","repository_url":"https://api.github.com/repos/dkowis/cucumber-jvm-groovy-example","labels_url":"https://api.github.com/repos/dkowis/cucumber-jvm-groovy-example/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/dkowis/cucumber-jvm-groovy-example/issues/3/comments","events_url":"https://api.github.com/repos/dkowis/cucumber-jvm-groovy-example/issues/3/events","html_url":"https://github.com/dkowis/cucumber-jvm-groovy-example/issues/3","id":184110229,"number":3,"title":"Is there a way to dynamically pass in tags to be executed?","user":{"login":"ddelponte","id":95676,"avatar_url":"https://avatars.githubusercontent.com/u/95676?v=3","gravatar_id":"","url":"https://api.github.com/users/ddelponte","html_url":"https://github.com/ddelponte","followers_url":"https://api.github.com/users/ddelponte/followers","following_url":"https://api.github.com/users/ddelponte/following{/other_user}","gists_url":"https://api.github.com/users/ddelponte/gists{/gist_id}","starred_url":"https://api.github.com/users/ddelponte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddelponte/subscriptions","organizations_url":"https://api.github.com/users/ddelponte/orgs","repos_url":"https://api.github.com/users/ddelponte/repos","events_url":"https://api.github.com/users/ddelponte/events{/privacy}","received_events_url":"https://api.github.com/users/ddelponte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-20T00:50:54Z","updated_at":"2016-10-20T00:50:54Z","closed_at":null,"body":"For example, I have this in my `build.gradle` file:\r\n\r\n```\r\ntags = [\"@COMPLETED\", \"~@ignore\"]\r\n```\r\n\r\nThis will run all features and/or scenarios that are tagged as `COMPLETED` but not `ignore`.\r\n\r\nIf I want to run all tests tagged as `awesome`, I would modify that line to be:\r\n\r\n```\r\ntags = [\"@awesome\"]\r\n```\r\n\r\nHow can I accomplish this same thing but at the command line or with environmental variables (or some other way)?\r\n\r\nI want it to be dynamic so, for instance, I could create a Jenkins job that would run only the tests tagged in the Jenkins job.  This allows flexibility without having to modify the code."}}
{"actor":{"display_login":"ddelponte"}}