{"action":"closed","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5570","repository_url":"https://api.github.com/repos/travis-ci/travis-ci","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5570/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5570/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5570/events","html_url":"https://github.com/travis-ci/travis-ci/issues/5570","id":131245031,"number":5570,"title":"Environment Variable TRAVIS_JOB_ID Incorrect","user":{"login":"clarkmalmgren","id":5323689,"avatar_url":"https://avatars.githubusercontent.com/u/5323689?v=3","gravatar_id":"","url":"https://api.github.com/users/clarkmalmgren","html_url":"https://github.com/clarkmalmgren","followers_url":"https://api.github.com/users/clarkmalmgren/followers","following_url":"https://api.github.com/users/clarkmalmgren/following{/other_user}","gists_url":"https://api.github.com/users/clarkmalmgren/gists{/gist_id}","starred_url":"https://api.github.com/users/clarkmalmgren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarkmalmgren/subscriptions","organizations_url":"https://api.github.com/users/clarkmalmgren/orgs","repos_url":"https://api.github.com/users/clarkmalmgren/repos","events_url":"https://api.github.com/users/clarkmalmgren/events{/privacy}","received_events_url":"https://api.github.com/users/clarkmalmgren/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-04T05:04:01Z","updated_at":"2016-02-04T15:28:47Z","closed_at":"2016-02-04T15:28:47Z","body":"Within the last few days, my builds started failing and I have seemed to track it down to an mismatch of the `TRAVIS_JOB_ID`.\r\n\r\nHere is an example build: https://travis-ci.org/clarkmalmgren/ezdocker/builds/106907018\r\n\r\nThe build is failing because when trying to upload the coverage to coveralls, it fails because it can't find a repository for the job.  After adding some additional logging in my gulp build file, I found that the job id in the environment variable is off by one (106907019 instead of 106907018).\r\n\r\n![image](https://cloud.githubusercontent.com/assets/5323689/12806248/40778214-cad2-11e5-942e-16b247eec8e4.png)\r\n\r\nI thought something must have changed so I re-ran an old build (that had previously succeeded) and got the same exact issue.\r\n\r\nThe project source is here: https://github.com/clarkmalmgren/ezdocker\r\n"}}