On 12/03/2023 22:27, Marco Atzeri via Cygwin-apps wrote:

Hi Jon,
will be possible to pass the token notest to the sub-command rerun ?
For the time being I used SCALLYWEG="notest"

Yes, e.g. 'jobs rerun --token notest 5594'

Unfortunately, this can run into well known ssh quotation difficulties when you want to specify multiple space separated tokens (as the command is evaluated by the local shell and the the remote shell), so maybe needs some improvement...

(I think maybe something like ssh cyg...@cygwin.com "jobs rerun --token 'notest label' 5594" works, but I haven't tested it...)

PS: there is a mismatch in the documentation

subcommands:
   {cancel,deploy,help,rerun}
     cancel              cancel job
     deploy              deploy job
     help                this help
     rerun               re-run job

While on the web:

rebuild
rebuild a job (e.g. if it failed due to some transient condition, or optionally with different tokens).

Thanks for pointing this out. I fixed the documentation.

Reply via email to