Skip to main content

Function: updateSauceJob()

function updateSauceJob(id, opts): Promise<SauceJobResponse>;

Defined in: packages/core/src/sauce/jobs.ts:143

Update a job's metadata. Only the fields present in opts are sent, so a caller can flip passed without clobbering the job's name or tags.

passed goes through existy rather than a truthiness check because passed: false is a meaningful value that must still be transmitted.

Parameters​

id​

string

opts​

UpdateSauceJobOptions

Returns​

Promise<SauceJobResponse>