2015-09-25 12:07:36 +05:30
|
|
|
module Ci
|
|
|
|
class TriggerRequest < ActiveRecord::Base
|
|
|
|
extend Ci::Model
|
|
|
|
|
|
|
|
belongs_to :trigger, class_name: 'Ci::Trigger'
|
2016-06-16 23:09:34 +05:30
|
|
|
belongs_to :pipeline, class_name: 'Ci::Pipeline', foreign_key: :commit_id
|
2015-09-25 12:07:36 +05:30
|
|
|
has_many :builds, class_name: 'Ci::Build'
|
|
|
|
|
|
|
|
serialize :variables
|
|
|
|
end
|
|
|
|
end
|