Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/ci/job_artifacts/create_service.rb')
-rw-r--r--app/services/ci/job_artifacts/create_service.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/services/ci/job_artifacts/create_service.rb b/app/services/ci/job_artifacts/create_service.rb
index 3ac0e83232f..c09b0cf81f1 100644
--- a/app/services/ci/job_artifacts/create_service.rb
+++ b/app/services/ci/job_artifacts/create_service.rb
@@ -138,6 +138,7 @@ module Ci
def parse_artifact(artifact)
case artifact.file_type
when 'dotenv' then parse_dotenv_artifact(artifact)
+ when 'annotations' then parse_annotations_artifact(artifact)
else success
end
end
@@ -188,6 +189,10 @@ module Ci
def parse_dotenv_artifact(artifact)
Ci::ParseDotenvArtifactService.new(project, current_user).execute(artifact)
end
+
+ def parse_annotations_artifact(artifact)
+ Ci::ParseAnnotationsArtifactService.new(project, current_user).execute(artifact)
+ end
end
end
end