Skip to content
Snippets Groups Projects
Commit 43b1ede6 authored by Valery Sizov's avatar Valery Sizov
Browse files

Merge branch 'release/5.2.1' into '5-2-stable'

Fixes for 5.2.1

See merge request !93
parents c4ca0e08 c8799316
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -4,6 +4,7 @@ class ProjectsController < ApplicationController
before_filter :authorize_access_project!, except: [:build, :gitlab, :badge, :index, :show, :new, :create]
before_filter :authenticate_token!, only: [:build]
before_filter :no_cache, only: [:badge]
protect_from_forgery except: :build
 
layout 'project', except: [:index, :gitlab]
 
Loading
Loading
Loading
Loading
@@ -48,11 +48,13 @@
%strong= @project.email_only_broken_builds
 
.col-md-6
%fieldset
%legend Build script
= preserve do
%pre
= @project.scripts
- @project.jobs.active.each do |job|
%fieldset
%legend
Build script for #{job.name}
= preserve do
%pre
= job.commands
 
%br
%fieldset
Loading
Loading
class RemoveInvalidBuild < ActiveRecord::Migration
def change
execute "DELETE FROM builds WHERE commit_id is NULL"
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment