ci-env
ci-env copied to clipboard
handle .com and .org travis urls
Travis is totally broken since they have two different URLs for running jobs.
I can see at https://docs.travis-ci.com/user/environment-variables/ that TRAVIS_JOB_WEB_URL
and TRAVIS_BUILD_WEB_URL
can be used for detecting if the job us running under travis-ci.com
or travis-ci.org
and create the jobUrl
accordingly.