{"action":"opened","issue":{"url":"https://api.github.com/repos/Shippable/support/issues/2871","repository_url":"https://api.github.com/repos/Shippable/support","labels_url":"https://api.github.com/repos/Shippable/support/issues/2871/labels{/name}","comments_url":"https://api.github.com/repos/Shippable/support/issues/2871/comments","events_url":"https://api.github.com/repos/Shippable/support/issues/2871/events","html_url":"https://github.com/Shippable/support/issues/2871","id":170582416,"number":2871,"title":"[Question] How to pass spring active profile to script? ","user":{"login":"jhseong","id":17000626,"avatar_url":"https://avatars.githubusercontent.com/u/17000626?v=3","gravatar_id":"","url":"https://api.github.com/users/jhseong","html_url":"https://github.com/jhseong","followers_url":"https://api.github.com/users/jhseong/followers","following_url":"https://api.github.com/users/jhseong/following{/other_user}","gists_url":"https://api.github.com/users/jhseong/gists{/gist_id}","starred_url":"https://api.github.com/users/jhseong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhseong/subscriptions","organizations_url":"https://api.github.com/users/jhseong/orgs","repos_url":"https://api.github.com/users/jhseong/repos","events_url":"https://api.github.com/users/jhseong/events{/privacy}","received_events_url":"https://api.github.com/users/jhseong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-11T07:04:42Z","updated_at":"2016-08-11T07:04:42Z","closed_at":null,"body":"I am using gradle and spring boot.\r\nI want to pass **SPRING_PROFILES_ACTIVE=development, staging, production** each to the script section.\r\nI want to pass the profile dynamically. \r\nWhat should I do?\r\n\r\nex) \r\nSPRING_PROFILES_ACTIVE=development ./gradlew clean check\r\nSPRING_PROFILES_ACTIVE=staging  ./gradlew clean check\r\nSPRING_PROFILES_ACTIVE=production  ./gradlew clean check\r\n \r\n- shippable.yml\r\n```\r\nlanguage: java\r\n\r\njdk:\r\n- oraclejdk8\r\n\r\ninstall:\r\n- ./gradlew assemble\r\n\r\nscript:\r\n- ./gradlew check\r\n```"}}
{"actor":{"display_login":"jhseong"}}