spotify / XCMetrics

XCMetrics is the easiest way to collect Xcode build metrics and improve developer productivity.
https://xcmetrics.io
Other
1.1k stars 77 forks source link

Detect CI environment variable #19

Closed FranzBusch closed 3 years ago

FranzBusch commented 3 years ago

Most CI system are automatically populating the build environment with a variable CI to indicate that the build is running on a CI system. It would be great if we can automatically detect that variable from the environment instead of passing it to the XCMetrics invocation by hand.

If this is something you think is useful, I would be very happy to open a PR for it.

FranzBusch commented 3 years ago

I am closing this since it seems to be working when using --isCI ${CI:-false} inside the post build script

ecamacho commented 3 years ago

Clever!