Commit dac90639 authored by Shinya Maeda's avatar Shinya Maeda

Fix EE specific with_artifacts

parent 14e20e1a
......@@ -21,7 +21,7 @@ module EE
scope :sast, -> { where(name: 'sast') }
scope :sast_container, -> { where(name: 'sast:container') }
scope :dast, -> { where(name: 'dast') }
scope :with_artifacts_stored_locally, -> { with_artifacts.where(artifacts_file_store: [nil, LegacyArtifactUploader::Store::LOCAL]) }
scope :with_artifacts_stored_locally, -> { with_artifacts(:archive).where(artifacts_file_store: [nil, LegacyArtifactUploader::Store::LOCAL]) }
after_save :stick_build_if_status_changed
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment