 (def verbose false)
 (def port 3000)
 (def workdir "work")
+
+(def jenkins-url (System/getenv "JENKINS_URL"))
 
 (defn slurp-
     [filename]


(defn api-call-handler
    [request]
    (let [gitlab-info (parse-gitlab-info request)
          repository-url   (-> gitlab-info :repository :url)
          repository-name  (-> gitlab-info :repository :name)
          repository-group (-> gitlab-info :project :namespace)

              (fetch-mirror-repo workdir group reponame repository-url)
              (clone-mirror-repo workdir group reponame repository-url))))

(defn start-jenkins-jobs
    [action]
)

(defn create-or-delete-jenkins-job
    [action]
)

(defn create-action-queue
    []
    (java.util.concurrent.LinkedBlockingQueue.))
