           openshift-ip        (System/getenv "OPENSHIFT_CLOJURE_HTTP_IP")
           openshift-port      (System/getenv "OPENSHIFT_CLOJURE_HTTP_PORT")]
         (print-environment-configuration)
-        ;(config/override-options-by-cli jenkins-url test-jobs-suffix)
+        (let [configuration (config/load-configuration-from-ini "config.ini")]
+            (config/override-options-by-cli configuration jenkins-url test-jobs-suffix)
+            (config/print-configuration configuration))
         (println "Finished")))
 
 (defn run-app

        ;cors-handler))

(defn start-server-on-regular-machine
    [port]
    (println "Starting the server at the port: " port)
    (jetty/run-jetty app {:port (read-string port)}))

(defn start-server-on-openshift
    [port host]
    (println "Starting the server on openshift at the port: " port " and host: " host)
    (jetty/run-jetty app {:port (read-string port) :host host}))

(defn start-server
    "Start server on specified port."
    [port openshift-port openshift-ip]
    (if (and openshift-ip openshift-port)
        (start-server-on-openshift openshift-port openshift-ip)
        (start-server-on-regular-machine port)))

(defn get-and-check-port
    "Accepts port number represented by string and throws AssertionError

          test-jobs-suffix    (options :test-jobs-suffix)
          openshift-ip        (System/getenv "OPENSHIFT_CLOJURE_HTTP_IP")
          openshift-port      (System/getenv "OPENSHIFT_CLOJURE_HTTP_PORT")]
        (let [configuration (config/load-configuration-from-ini "config.ini")]
            (config/override-options-by-cli configuration jenkins-url test-jobs-suffix)
        (start-server configuration (get-port port) openshift-port openshift-ip))))

(defn -main
    "Entry point to the Emender service server."
