                            :on-click #(raise! owner [:ssh-build-clicked {:build-id build-id
                                                                          :vcs-url vcs-url
                                                                          :build-num build-num}])}
-                          "with ssh"])])
-                [:li (forms/managed-button
-                       [:a
-                        {:data-loading-text "Rebuilding",
-                         :title             "Retry without cache",
-                         :on-click #(raise! owner [:retry-build-clicked {:build-id build-id
-                                                                         :vcs-url vcs-url
-                                                                         :build-num build-num
-                                                                         :no-cache? true}])}
-                        "without cache"])]]])
+                          "with ssh"])])]])
             [:a.build-action
              {:href (routes/v1-project-settings {:org  (get-in data (conj state/project-plan-path :org_name))
                                                  :repo (get-in data (conj state/project-path :reponame))})}

             (when (and (build-model/can-cancel? build) has-write-settings?)
               (forms/managed-button
                 [:a.build-action
                  {:data-loading-text "Canceling",
                   :title             "Cancel this build",
                   :on-click #(raise! owner [:cancel-build-clicked {:build-id build-id
                                                                    :vcs-url vcs-url
                                                                    :build-num build-num}])}

                  "Rebuild"])
               [:button.btn.dropdown-toggle {:data-toggle "dropdown"} [:span.caret]]
               [:ul.dropdown-menu
                [:li (forms/managed-button
                       [:a
                        {:data-loading-text "Rebuilding",
                         :title             "Retry without cache",
                         :on-click #(raise! owner [:retry-build-clicked {:build-id build-id
                                                                         :vcs-url vcs-url
                                                                         :build-num build-num
                                                                         :no-cache? true}])}
                        "without cache"])]
                ;; XXX Temporarily remove the ssh button for OSX builds
                (when (not (feature/enabled-for-project? project :osx))
                  [:li (forms/managed-button
