Skip to content

api: Better validate job type

Majavah requested to merge taavi/continuous-cronjobs into main

Do not allow declaring a job with both 'continuous: true' and a schedule. Previously this was in practice validated by the argument parser on the CLI, but for the 'toolforge jobs load' method bypassed that and any future interfaces will too.

Change-Id: I6255a9412eb40d7e7d510f76e8c5ef8cd36f1326

Merge request reports