               :repository_id repository-id
               :scripts (:scripts trial)
               :task_id (:task_id trial)
+              :templates (templates-data task-spec)
               :tree-attachments (:tree-attachments task-spec)
               :tree-attachments-path (tree-attachments-path tree-id)
               :trial-attachments (:trial-attachments task-spec)

        {:git_path (git-path repository-id)
         :git_url (git-url repository-id) }))


;### dispatch data ############################################################



(ns cider-ci.dispatcher.dispatch.build-data
  (:require
    [cider-ci.utils.map :refer [convert-to-array]]
    [cider-ci.dispatcher.task :as task]
    [cider-ci.utils.http :as http]
    [cider-ci.utils.rdbms :as rdbms]
