diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-12-07 13:23:23 +0100 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-12-10 16:04:08 +0100 |
commit | 2988e1fbf50b3c9e803a9358933e3e969e64dcc3 (patch) | |
tree | a131797c706f2dba8081fb96ef61660f9f02510a /app/views/ci | |
parent | 4e5897f51ef97d7c3ff6c57f81521f552979a3da (diff) | |
download | gitlab-ce-2988e1fbf50b3c9e803a9358933e3e969e64dcc3.tar.gz |
Migrate CI::Services and CI::WebHooks to Services and WebHooks
Diffstat (limited to 'app/views/ci')
-rw-r--r-- | app/views/ci/notify/build_fail_email.html.haml | 23 | ||||
-rw-r--r-- | app/views/ci/notify/build_fail_email.text.erb | 11 | ||||
-rw-r--r-- | app/views/ci/notify/build_success_email.html.haml | 24 | ||||
-rw-r--r-- | app/views/ci/notify/build_success_email.text.erb | 11 |
4 files changed, 0 insertions, 69 deletions
diff --git a/app/views/ci/notify/build_fail_email.html.haml b/app/views/ci/notify/build_fail_email.html.haml deleted file mode 100644 index de6291aa914..00000000000 --- a/app/views/ci/notify/build_fail_email.html.haml +++ /dev/null @@ -1,23 +0,0 @@ -- content_for :header do - %h1{style: "background: #c40834; color: #FFF; font: normal 20px Helvetica, Arial, sans-serif; margin: 0; padding: 5px 10px; line-height: 32px; font-size: 16px;"} - GitLab CI (build failed) -%h3 - Project: - = link_to ci_project_url(@project) do - = @project.name - -%p - Commit: #{link_to @build.short_sha, namespace_project_commit_url(@build.gl_project.namespace, @build.gl_project, @build.sha)} -%p - Author: #{@build.commit.git_author_name} -%p - Branch: #{@build.ref} -%p - Stage: #{@build.stage} -%p - Job: #{@build.name} -%p - Message: #{@build.commit.git_commit_message} - -%p - Build details: #{link_to "Build #{@build.id}", namespace_project_build_url(@build.gl_project.namespace, @build.gl_project, @build)} diff --git a/app/views/ci/notify/build_fail_email.text.erb b/app/views/ci/notify/build_fail_email.text.erb deleted file mode 100644 index 17a3b9b1d33..00000000000 --- a/app/views/ci/notify/build_fail_email.text.erb +++ /dev/null @@ -1,11 +0,0 @@ -Build failed for <%= @project.name %> - -Status: <%= @build.status %> -Commit: <%= @build.commit.short_sha %> -Author: <%= @build.commit.git_author_name %> -Branch: <%= @build.ref %> -Stage: <%= @build.stage %> -Job: <%= @build.name %> -Message: <%= @build.commit.git_commit_message %> - -Url: <%= namespace_project_build_url(@build.gl_project.namespace, @build.gl_project, @build) %> diff --git a/app/views/ci/notify/build_success_email.html.haml b/app/views/ci/notify/build_success_email.html.haml deleted file mode 100644 index 6ef1fd67d89..00000000000 --- a/app/views/ci/notify/build_success_email.html.haml +++ /dev/null @@ -1,24 +0,0 @@ -- content_for :header do - %h1{style: "background: #38CF5B; color: #FFF; font: normal 20px Helvetica, Arial, sans-serif; margin: 0; padding: 5px 10px; line-height: 32px; font-size: 16px;"} - GitLab CI (build successful) - -%h3 - Project: - = link_to ci_project_url(@project) do - = @project.name - -%p - Commit: #{link_to @build.short_sha, namespace_project_commit_url(@build.gl_project.namespace, @build.gl_project, @build.sha)} -%p - Author: #{@build.commit.git_author_name} -%p - Branch: #{@build.ref} -%p - Stage: #{@build.stage} -%p - Job: #{@build.name} -%p - Message: #{@build.commit.git_commit_message} - -%p - Build details: #{link_to "Build #{@build.id}", namespace_project_build_url(@build.gl_project.namespace, @build.gl_project, @build)} diff --git a/app/views/ci/notify/build_success_email.text.erb b/app/views/ci/notify/build_success_email.text.erb deleted file mode 100644 index bc8b978c3d7..00000000000 --- a/app/views/ci/notify/build_success_email.text.erb +++ /dev/null @@ -1,11 +0,0 @@ -Build successful for <%= @project.name %> - -Status: <%= @build.status %> -Commit: <%= @build.commit.short_sha %> -Author: <%= @build.commit.git_author_name %> -Branch: <%= @build.ref %> -Stage: <%= @build.stage %> -Job: <%= @build.name %> -Message: <%= @build.commit.git_commit_message %> - -Url: <%= namespace_project_build_url(@build.gl_project.namespace, @build.gl_project, @build) %> |