IS_TASKCLUSTER property

bool IS_TASKCLUSTER

Returns true if TaskCluster is the current CI vendor.

Implementation

static bool get IS_TASKCLUSTER {
  return Platform.environment.containsKey("TASK_ID") &&
      Platform.environment.containsKey("RUN_ID");
}