MCPcopy Index your code
hub / github.com/ampproject/amphtml / abortTimedJob

Function abortTimedJob

build-system/pr-check/utils.js:164–167  ·  view source on GitHub ↗

* Aborts the process after stopping the timer for a given job * @param {string} jobName * @param {number} startTime

(jobName, startTime)

Source from the content-addressed store, hash-verified

162 * @param {number} startTime
163 */
164function abortTimedJob(jobName, startTime) {
165 stopTimer(jobName, startTime);
166 process.exitCode = 1;
167}
168
169/**
170 * Wraps an exec helper in a timer. Returns the result of the helper.

Callers 2

runReleaseJobFunction · 0.85
runCiJobFunction · 0.85

Calls 1

stopTimerFunction · 0.85

Tested by

no test coverage detected