You can queue a job into the engine, and monitor the result.
You can queue a job by specifying the project name and the job definition name to be queued.
dotnet occli.dll queue add --project MyProject --job Default
You will get a queue id. Use this id for other command such as getting the job status.
All of the queued job can be viewed using the
dotnet occli.dll queue list --project MyProject
You can get the progressing job status in real time by using this command:
dotnet occli.dll queue get --project MyProject --number 1
There's a case where the status of the queue is pending. This is usually happened when a user action is needed. For example, the user need to review the updated code, before the engine perform the merge.
dotnet occli.dll queue restart --project MyProject --number 1
You will need to cancel a job when it's force cancelled in the engine, or you don't want to continue a pending job.
dotnet occli.dll queue cancel --project MyProject --number 1