{"action":"opened","issue":{"url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/198","repository_url":"https://api.github.com/repos/OpenAPITools/openapi-generator","labels_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/198/comments","events_url":"https://api.github.com/repos/OpenAPITools/openapi-generator/issues/198/events","html_url":"https://github.com/OpenAPITools/openapi-generator/issues/198","id":328516570,"node_id":"MDU6SXNzdWUzMjg1MTY1NzA=","number":198,"title":"Bug in pushing SNAPSHOT JAR","user":{"login":"wing328","id":934260,"node_id":"MDQ6VXNlcjkzNDI2MA==","avatar_url":"https://avatars2.githubusercontent.com/u/934260?v=4","gravatar_id":"","url":"https://api.github.com/users/wing328","html_url":"https://github.com/wing328","followers_url":"https://api.github.com/users/wing328/followers","following_url":"https://api.github.com/users/wing328/following{/other_user}","gists_url":"https://api.github.com/users/wing328/gists{/gist_id}","starred_url":"https://api.github.com/users/wing328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wing328/subscriptions","organizations_url":"https://api.github.com/users/wing328/orgs","repos_url":"https://api.github.com/users/wing328/repos","events_url":"https://api.github.com/users/wing328/events{/privacy}","received_events_url":"https://api.github.com/users/wing328/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-01T13:18:41Z","updated_at":"2018-06-01T13:18:41Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"##### Description\r\n\r\nWe found that when the core team opens a PR with a new branch. Travis will deploy the snapshot JAR if the job succeeds, which is not the correct behavior as only the job targeting master should deploy the SNAPSHOT JAR:\r\n```\r\n[INFO] openapi-generator-project .......................... SUCCESS [  4.929 s]\r\n[INFO] openapi-generator (core library) ................... SUCCESS [ 52.295 s]\r\n[INFO] openapi-generator (executable) ..................... SUCCESS [ 15.301 s]\r\n[INFO] openapi-generator (maven-plugin) ................... SUCCESS [ 11.260 s]\r\n[INFO] openapi-generator-gradle-plugin (gradle-plugin) .... SUCCESS [01:07 min]\r\n[INFO] openapi-generator-online ........................... SUCCESS [ 16.057 s]\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD SUCCESS\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 02:49 min\r\n[INFO] Finished at: 2018-06-01T08:56:39Z\r\n[INFO] Final Memory: 67M/660M\r\n[INFO] ------------------------------------------------------------------------\r\nFinished mvn clean deploy for master\r\n```\r\n\r\n##### openapi-generator version\r\n\r\nLatest master\r\n\r\n##### Steps to reproduce\r\n\r\nCreate a branch and open a PR\r\n\r\n##### Suggest a fix/enhancement\r\n\r\nhttps://github.com/OpenAPITools/openapi-generator/blob/master/.travis.yml#L97 is a good starting point.\r\n"}}
{"actor":{"display_login":"wing328"}}