travis-ci / travis.rb

Travis CI Client (CLI and Ruby library)
MIT License
1.59k stars 409 forks source link

travis-build compile undefined method 'jobs' for nil:NilClass error #818

Open ryanajae opened 2 years ago

ryanajae commented 2 years ago

Apologies for posting this here, as this is related to travis-build, a repo that does not have an available issues tab. Please let me know a more appropriate location to post this issue if there is one.

I've tried a number of projects we've used the travis compile command has executed on successfully as recently as November 2021, but now I get this response for every project I try (Using travis 1.11.0):

 ~/.travis/travis-build/bin/travis compile 5606.1 > reproduce_tmp/554112074.sh

detected repository as ikasanEIP/ikasan
undefined method `jobs' for nil:NilClass.

I've gone into the source code to try and find where the "detected repository" language is, but haven't been able to find a trace of it. Any help at all in debugging this would be so greatly appreciated.

ryanajae commented 2 years ago

From further investigation, it appears to me that it seems travis-build still uses the old .org URL when accessing the Travis API. Is it possible that this needs to be updated to the new .com endpoint? I have not been able to find where in the source code the API endpoint is defined, any help would be greatly appreciated.

detected repository as ryanjae/ryanjae

repository not known to https://api.travis-ci.org/: ryanjae/ryanjae

Really hoping to hear from you.