The root cause of the problem was that I was didn't change the job name between runs. Thanks to @JayashankarGS's answer for showing, correctly, an example with updated job names: job_name3, job_name5, etc. The YAML file and command() statement in the original question work correctly when name is changed to be unique or omitted entirely.