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

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

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

    "Entry point to the branch handler service server."
    [& args]
    (log/info "Started app on port" port)
    (log/info "JENKINS_URL is set to" jenkins-url)
    (start-action-consumer actions-queue)
    (start-server ring-app port))

