Skip to content
sauce-labs-cli
Menu

Command · sauce jobs

sauce jobs edit

Set a job’s name, Tags, Visibility, Job result, Build or Custom data.

--tag can be repeated and replaces the existing Tags. --visibility takes public, public restricted, share, team or private.

--passed and --failed set the Job result and cannot be used together. --build assigns the job to a Build. --custom-data takes a JSON object.

Only Virtual-device jobs can be edited: Real-device job records are read-only.

Examples (made-up ids)
$ sauce jobs edit 1234abcd --name 'checkout smoke test'
$ sauce jobs edit 1234abcd --failed --tag flaky --tag checkout
$ sauce jobs edit 1234abcd --custom-data '{"pr":42}'