                  nil))))
 
 (defn ok-response-structure
-    [job-name command jenkins-response]
-    {:status   "ok"
-     :job-name job-name
-     :command  command
-     :jenkins-response jenkins-response})
+    [job-name command include-jenkins-reply? jenkins-response]
+    (if include-jenkins-reply?
+        {:status   "ok"
+         :job-name job-name
+         :command  command
+         :jenkins-response jenkins-response}
+        {:status   "ok"
+         :job-name job-name
+         :command  command}))
 
 (defn error-response-structure
     [job-name command exception]

    })

(defn job-related-command
    [jenkins-url jenkins-auth job-name command]
    (try
        (let [response (post-command jenkins-url jenkins-auth job-name command)]
            (ok-response-structure job-name command response))
        (catch Exception e
            (.printStackTrace e)
            (error-response-structure job-name command e))))

          (println "URL to use: " url)
          (try
              (->> (send-configuration-xml-to-jenkins url config)
                   (ok-response-structure job-name "update" include-jenkins-reply?))
              (catch Exception e
                  (.printStackTrace e)
                  (error-response-structure job-name "update" e)))))
