 (require '[clojure.tools.logging       :as log])
 
 (require '[emender-jenkins.config      :as config])
+(require '[emender-jenkins.time-utils  :as time-utils])
 (use     '[emender-jenkins.utils])
 
 (def results (atom nil))

          (reset! running-jobs
          (if (and jobs-in-queue building-jobs) (create-running-jobs-response jobs-in-queue building-jobs)))))

; REPL testing
; (require '[clojure.pprint :as pprint])
; (require '[clojure.edn])

        (some #(= job-name (:jobName %)) @results)))

(def currently-building-jobs                  (atom nil))
(def currently-building-jobs-jenkins-response (atom nil))
(def currently-building-jobs-cache-timestamp(atom nil))

(def jobs-in-queue                            (atom nil))
(def jobs-in-queue-jenkins-response           (atom nil))
(def jobs-in-queue-cache-timestamp          (atom nil))

(def running-jobs                             (atom nil))

(defn get-building-jobs-url
    "Construct URL used to read all jobs that are currently building."
