siddharthkp / ci-env

Environment variables exposed by CI tools
MIT License
40 stars 17 forks source link

Change buildUrl for jobUrl #19

Closed Kikobeats closed 5 years ago

Kikobeats commented 6 years ago

This change is promoted because currently is not possible get the build URL

Related: https://github.com/travis-ci/travis-ci/issues/8935

This means that the current output provided by buildUrl is not valid.

However, it's possible to get the job URL (that was the real intention of shipping this variable in the module)

The difference is that a build can contain more than one job.

Kikobeats commented 6 years ago

@siddharthkp I can't see why tests failed, can you review them?

also, travis add a new env variable for getting the build URL: https://github.com/travis-ci/travis-ci/issues/8935#issuecomment-425185232