Page MenuHomePhabricator

toolforge-jobs: Include the jobname in the "Invalid job name" message
Closed, DuplicatePublic

Description

When a user uses toolforge-jobs load to load several jobs from a yaml file, the "Invalid job name" message is not helpful, as it doesn't tell the user which job name is the invalid one:

tools.urbanecmbot@tools-sgebastion-10 ~/11bots
$ toolforge-jobs load jobs.yaml
ERROR: Error: Invalid job name. See the documentation for the naming rules: https://w.wiki/6YL8
tools.urbanecmbot@tools-sgebastion-10 ~/11bots
$