From a1cfd2754e66365f601e6ee88eb09724dd60084c Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Thu, 17 Dec 2015 09:09:46 +0100 Subject: [PATCH] Add `artifacts_metadata` field to `Ci::Build` This will contain serialized array of files inside artifacts tarball. --- app/models/ci/build.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb index a4779d06de8..a2dca97ad31 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -30,6 +30,7 @@ # description :string(255) # artifacts_file :text # gl_project_id :integer +# artifacts_metadata :text # module Ci @@ -40,6 +41,7 @@ module Ci belongs_to :trigger_request, class_name: 'Ci::TriggerRequest' serialize :options + serialize :artifacts_metadata validates :coverage, numericality: true, allow_blank: true validates_presence_of :ref