MCPcopy Create free account
hub / github.com/ampproject/amphtml / circleciNodeIndex

Function circleciNodeIndex

build-system/common/ci.js:213–215  ·  view source on GitHub ↗

* Returns the parallelized build's shard number. * @return {number}

()

Source from the content-addressed store, hash-verified

211 * @return {number}
212 */
213function circleciNodeIndex() {
214 return isCircleci ? Number(env('CIRCLE_NODE_INDEX')) : 0;
215}
216
217/**
218 * Returns the repo slug for the ongoing build.

Callers

nothing calls this directly

Calls 1

envFunction · 0.70

Tested by

no test coverage detected