Add job build
@@ -168,6 +168,7 @@ class SchedulerCeleryTasks(object):
BUILD_JOBS_STOP = 'build_jobs_stop'
BUILD_JOBS_NOTIFY_DONE = 'build_jobs_notify_done'
+ JOBS_BUILD = 'jobs_build'
JOBS_START = 'jobs_start'
JOBS_STOP = 'jobs_stop'
JOBS_NOTIFY_DONE = 'jobs_notify_done'
@@ -293,6 +294,8 @@ CELERY_TASK_ROUTES = {
SchedulerCeleryTasks.BUILD_JOBS_NOTIFY_DONE:
{'queue': CeleryQueues.SCHEDULER_BUILD_JOBS},
+ SchedulerCeleryTasks.JOBS_BUILD:
+ {'queue': CeleryQueues.SCHEDULER_BUILD_JOBS},
SchedulerCeleryTasks.JOBS_START:
{'queue': CeleryQueues.SCHEDULER_BUILD_JOBS},
SchedulerCeleryTasks.JOBS_STOP:
