{"action":"closed","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5351","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5351/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5351/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5351/events","html_url":"https://github.com/travis-ci/travis-ci/issues/5351","id":123389957,"number":5351,"title":"after_deploy and after_failure aren't triggering on failure of app engine deploy","user":{"login":"sethladd","id":5479,"avatar_url":"https://avatars.githubusercontent.com/u/5479?v=3","gravatar_id":"","url":"https://api.github.com/users/sethladd","html_url":"https://github.com/sethladd","followers_url":"https://api.github.com/users/sethladd/followers","following_url":"https://api.github.com/users/sethladd/following{/other_user}","gists_url":"https://api.github.com/users/sethladd/gists{/gist_id}","starred_url":"https://api.github.com/users/sethladd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethladd/subscriptions","organizations_url":"https://api.github.com/users/sethladd/orgs","repos_url":"https://api.github.com/users/sethladd/repos","events_url":"https://api.github.com/users/sethladd/events{/privacy}","received_events_url":"https://api.github.com/users/sethladd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-22T00:58:33Z","updated_at":"2015-12-22T01:47:11Z","closed_at":"2015-12-22T01:47:11Z","body":"This is odd, and might be a bug.\r\n\r\nI expect to see the output of logs being cat'ed out on a failure.\r\n\r\nHere's what I see at the end of my build log:\r\n\r\n```\r\nDeployment failed.\r\nfailed to deploy\r\n```\r\n\r\nFrom https://travis-ci.org/sethladd/sethladd-site/builds/98234256\r\n\r\nHere's my .travis.yml file:\r\n\r\n```'\r\nlanguage: node_js\r\nscript: ./travis.sh\r\nbranches:\r\n  only:\r\n  - master\r\ndeploy:\r\n  provider: gae\r\n  version: 2\r\n  keyfile: sethladd-site-8958bc933793.json\r\n  default: true\r\n  skip_cleanup: true\r\n  project: sethladd-site\r\nbefore_install:\r\n- openssl aes-256-cbc -K $encrypted_cd598ac5ae96_key -iv $encrypted_cd598ac5ae96_iv\r\n  -in sethladd-site-8958bc933793.json.enc -out sethladd-site-8958bc933793.json\r\n  -d\r\nafter_deploy: \"cat /home/travis/.config/gcloud/logs/2015.12.22/*.log\"\r\nafter_failure: \"cat /home/travis/.config/gcloud/logs/2015.12.22/*.log\"\r\n```\r\n\r\nI don't see anything that looks like cat'ed logs. Should I see these logs if the deploy step fails?\r\n\r\nThanks for taking a look.\r\n\r\n(FWIW, I do see a message on a `before_deploy` callback.)"}}